fix warnings for intel compiler

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-09-01 08:07:45 +00:00
commit bc715fc9a0
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;