diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-04 22:16:33 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-09-04 22:16:33 (GMT) |
commit | d157b3795b24b0fca2f75bfee4ac09c64a7b2f40 (patch) | |
tree | 2f7a6f2e03b2da878d3fb4923398d1fbc13e54bd | |
parent | f9114239e7a5c726fb875e0f47873e8ff9053a27 (diff) | |
download | cpython-d157b3795b24b0fca2f75bfee4ac09c64a7b2f40.zip cpython-d157b3795b24b0fca2f75bfee4ac09c64a7b2f40.tar.gz cpython-d157b3795b24b0fca2f75bfee4ac09c64a7b2f40.tar.bz2 |
Don't use a default "int" return type, gcc gives a warning about it.
-rw-r--r-- | Tools/bgen/bgen/bgenObjectDefinition.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/bgen/bgen/bgenObjectDefinition.py b/Tools/bgen/bgen/bgenObjectDefinition.py index 2186e0e..01585bb 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() |