]> granicus.if.org Git - python/commitdiff
Don't use a default "int" return type, gcc gives a warning about it.
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 4 Sep 2001 22:16:33 +0000 (22:16 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 4 Sep 2001 22:16:33 +0000 (22:16 +0000)
Tools/bgen/bgen/bgenObjectDefinition.py

index 2186e0e8d845e71aff823ccc7b385f6da2fc0044..01585bb8b3e8e77b10573eb5802b05919067a4f5 100644 (file)
@@ -98,7 +98,7 @@ class ObjectDefinition(GeneratorGroup):
                        "Override this method to apply additional checks/conversions"
        
        def outputConvert(self):
-               Output("%s%s_Convert(PyObject *v, %s *p_itself)", self.static, self.prefix,
+               Output("%sint %s_Convert(PyObject *v, %s *p_itself)", self.static, self.prefix,
                                self.itselftype)
                OutLbrace()
                self.outputCheckConvertArg()