minor 'const' consistence fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ed510b78b6
commit
c573cfe3a8
3 changed files with 4 additions and 4 deletions
|
|
@ -191,7 +191,7 @@ SWIG_Ruby_NewPackedObj(void *ptr, int sz, swig_type_info *type) {
|
|||
static void
|
||||
SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty, int flags) {
|
||||
swig_type_info *tc;
|
||||
char *c;
|
||||
const char *c;
|
||||
|
||||
if (TYPE(obj) != T_STRING) goto type_error;
|
||||
c = StringValuePtr(obj);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue