From d157b3795b24b0fca2f75bfee4ac09c64a7b2f40 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 4 Sep 2001 22:16:33 +0000 Subject: [PATCH] Don't use a default "int" return type, gcc gives a warning about it. --- Tools/bgen/bgen/bgenObjectDefinition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/bgen/bgen/bgenObjectDefinition.py b/Tools/bgen/bgen/bgenObjectDefinition.py index 2186e0e8d84..01585bb8b3e 100644 --- a/Tools/bgen/bgen/bgenObjectDefinition.py +++ b/Tools/bgen/bgen/bgenObjectDefinition.py @@ -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()