summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-09-04 22:16:33 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-09-04 22:16:33 (GMT)
commitd157b3795b24b0fca2f75bfee4ac09c64a7b2f40 (patch)
tree2f7a6f2e03b2da878d3fb4923398d1fbc13e54bd
parentf9114239e7a5c726fb875e0f47873e8ff9053a27 (diff)
downloadcpython-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.py2
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()