summaryrefslogtreecommitdiffstats
path: root/bindings/python
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-09-07 17:02:12 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-09-07 17:02:12 +0200
commit3e8c2b24b7141f314dd8ddb72c56325db7194c26 (patch)
tree51164bcf7ebfd17371466852394d9e3b3268dcfd /bindings/python
parent5f6c27f7b2f4eb571564f0666c0cbddb33656441 (diff)
parent9af598f85cec93d40218656bc34d01690fe635e7 (diff)
downloadlasso-3e8c2b24b7141f314dd8ddb72c56325db7194c26.tar.gz
lasso-3e8c2b24b7141f314dd8ddb72c56325db7194c26.tar.xz
lasso-3e8c2b24b7141f314dd8ddb72c56325db7194c26.zip
Merge branch 'hotfixes-2.3.1'
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/lang.py2
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