summaryrefslogtreecommitdiffstats
path: root/bindings/php5/wrapper_source.py
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-09-03 19:07:08 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-09-03 19:07:08 +0200
commit3f336a8e83515b7136a04361199be082cd3d8555 (patch)
tree8a3dbd55b0950cf25898300f8f55cb6749aff4c7 /bindings/php5/wrapper_source.py
parent9ab6b944f14556422fd4f279be5f568b0b18cfe4 (diff)
parentaaca9ce9927d9ea1568dfa89ba05a41b40333e9b (diff)
downloadlasso-3f336a8e83515b7136a04361199be082cd3d8555.tar.gz
lasso-3f336a8e83515b7136a04361199be082cd3d8555.tar.xz
lasso-3f336a8e83515b7136a04361199be082cd3d8555.zip
Merge branch 'develop' into 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