summaryrefslogtreecommitdiffstats
path: root/bindings/php5/wrapper_source.py
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/php5/wrapper_source.py
parent5f6c27f7b2f4eb571564f0666c0cbddb33656441 (diff)
parent9af598f85cec93d40218656bc34d01690fe635e7 (diff)
Merge branch 'hotfixes-2.3.1'
Diffstat (limited to 'bindings/php5/wrapper_source.py')
-rw-r--r--bindings/php5/wrapper_source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/php5/wrapper_source.py b/bindings/php5/wrapper_source.py
index 9b2698f2..7148fd9c 100644
--- a/bindings/php5/wrapper_source.py
+++ b/bindings/php5/wrapper_source.py
@@ -76,7 +76,7 @@ PHP_MINIT_FUNCTION(lasso)
if c[0] == 'i':
print >> self.fd, ' REGISTER_LONG_CONSTANT("%s", %s, CONST_CS|CONST_PERSISTENT);' % (c[1], c[1])
elif c[0] == 's':
- print >> self.fd, ' REGISTER_STRING_CONSTANT("%s", %s, CONST_CS|CONST_PERSISTENT);' % (c[1], c[1])
+ print >> self.fd, ' REGISTER_STRING_CONSTANT("%s", (char*) %s, CONST_CS|CONST_PERSISTENT);' % (c[1], c[1])
elif c[0] == 'b':
print >> self.fd, '''\
#ifdef %s