diff options
author | wfspotz@sandia.gov <wfspotz@sandia.gov@localhost> | 2009-04-29 16:10:33 +0000 |
---|---|---|
committer | wfspotz@sandia.gov <wfspotz@sandia.gov@localhost> | 2009-04-29 16:10:33 +0000 |
commit | 2d290567e93891fa604b724d1eadcabb527307c6 (patch) | |
tree | 9e1a8879d0974990dae22a58c1fd69d4eac8db64 /doc/swig | |
parent | 3af85933cfc992430350fc1daaa991720b70ed82 (diff) | |
download | numpy-2d290567e93891fa604b724d1eadcabb527307c6.tar.gz |
Added a couple more char* -> const char* conversions
Diffstat (limited to 'doc/swig')
-rw-r--r-- | doc/swig/numpy.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/swig/numpy.i b/doc/swig/numpy.i index b9a51ee32..e3ff236aa 100644 --- a/doc/swig/numpy.i +++ b/doc/swig/numpy.i @@ -1291,7 +1291,7 @@ npy_intp dims[1]; if (!PyInt_Check($input)) { - char* typestring = pytype_string($input); + const char* typestring = pytype_string($input); PyErr_Format(PyExc_TypeError, "Int dimension expected. '%s' given.", typestring); @@ -1319,7 +1319,7 @@ npy_intp dims[1]; if (!PyInt_Check($input)) { - char* typestring = pytype_string($input); + const char* typestring = pytype_string($input); PyErr_Format(PyExc_TypeError, "Int dimension expected. '%s' given.", typestring); |