diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-09-03 19:07:08 +0200 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-09-03 19:07:08 +0200 |
| commit | 3f336a8e83515b7136a04361199be082cd3d8555 (patch) | |
| tree | 8a3dbd55b0950cf25898300f8f55cb6749aff4c7 /bindings/python | |
| parent | 9ab6b944f14556422fd4f279be5f568b0b18cfe4 (diff) | |
| parent | aaca9ce9927d9ea1568dfa89ba05a41b40333e9b (diff) | |
| download | lasso-3f336a8e83515b7136a04361199be082cd3d8555.tar.gz lasso-3f336a8e83515b7136a04361199be082cd3d8555.tar.xz lasso-3f336a8e83515b7136a04361199be082cd3d8555.zip | |
Merge branch 'develop' into hotfixes-2.3.1
Diffstat (limited to 'bindings/python')
| -rw-r--r-- | bindings/python/lang.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/lang.py b/bindings/python/lang.py index ab987266..8be92e39 100644 --- a/bindings/python/lang.py +++ b/bindings/python/lang.py @@ -692,7 +692,7 @@ register_constants(PyObject *d) if c[0] == 'i': print >> fd, ' obj = PyInt_FromLong(%s);' % c[1] elif c[0] == 's': - print >> fd, ' obj = PyString_FromString(%s);' % c[1] + print >> fd, ' obj = PyString_FromString((char*)%s);' % c[1] elif c[0] == 'b': print >> fd, '''\ #ifdef %s |
