fixed the conversion of long parameters Daniel

* python/generator.py: fixed the conversion of long parameters
Daniel
diff --git a/ChangeLog b/ChangeLog
index 164c510..6437ab5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Aug  4 14:50:41 CEST 2006 Daniel Veillard <daniel@veillard.com>
+
+	* python/generator.py: fixed the conversion of long parameters
+
 Thu Jul 13 15:03:11 CEST 2006 Kasimier Buchcik <libxml2-cvs@cazic.net>
 
 	* xmlsave.c: Removed the automatic generation of CDATA sections
diff --git a/python/generator.py b/python/generator.py
index 642b8d1..f116f8a 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -231,7 +231,7 @@
 py_types = {
     'void': (None, None, None, None),
     'int':  ('i', None, "int", "int"),
-    'long':  ('i', None, "int", "int"),
+    'long':  ('l', None, "long", "long"),
     'double':  ('d', None, "double", "double"),
     'unsigned int':  ('i', None, "int", "int"),
     'xmlChar':  ('c', None, "int", "int"),