summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rwxr-xr-xpython/generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/generator.py b/python/generator.py
index 1327ce7f..7b82b048 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -216,7 +216,7 @@ skipped_types = {
py_types = {
'void': (None, None, None, None, None),
'int': ('i', None, "int", "int", "libxml_"),
- 'long': ('i', None, "int", "int", "libxml_"),
+ 'long': ('l', None, "long", "long", "libxml_"),
'double': ('d', None, "double", "double", "libxml_"),
'unsigned int': ('i', None, "int", "int", "libxml_"),
'xmlChar': ('c', None, "int", "int", "libxml_"),