fix warnings for intel compiler

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-09-01 08:07:45 +00:00
commit cebe364967
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ SWIG_AsCharArray(PyObject *obj, char *val, size_t size)
}
if (val) {
PyErr_Format(PyExc_TypeError,
"a char array of maximum size %d is expected",
"a char array of maximum size %ld is expected",
size);
}
return 0;

View file

@ -122,7 +122,7 @@ SWIG_AsWCharArray(PyObject *obj, wchar_t *val, size_t size)
}
if (val) {
PyErr_Format(PyExc_TypeError,
"a wchar_t array of maximum size %d is expected",
"a wchar_t array of maximum size %ld is expected",
size);
}
return 0;