Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d157b37

Browse files
committed
Don't use a default "int" return type, gcc gives a warning about it.
1 parent f911423 commit d157b37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/bgen/bgen/bgenObjectDefinition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def outputCheckNewArg(self):
9898
"Override this method to apply additional checks/conversions"
9999

100100
def outputConvert(self):
101-
Output("%s%s_Convert(PyObject *v, %s *p_itself)", self.static, self.prefix,
101+
Output("%sint %s_Convert(PyObject *v, %s *p_itself)", self.static, self.prefix,
102102
self.itselftype)
103103
OutLbrace()
104104
self.outputCheckConvertArg()

0 commit comments

Comments
 (0)