Commits

Armin Rigo committed d55b386

Forgot a '( )'.

  • Participants
  • Parent commits 9c76371
  • Branches cpy-extension

Comments (0)

Files changed (1)

File cffi/verifier.py

             prnt('  else if ((%s) < 0)' % (name,))
             prnt('    o = PyLong_FromLongLong((long long)(%s));' % (name,))
             prnt('  else')
-            prnt('    o = PyLong_FromUnsignedLongLong((unsigned long long)%s);'
-                 % (name,))
+            prnt('    o = PyLong_FromUnsignedLongLong('
+                 '(unsigned long long)(%s));' % (name,))
         prnt('  if (o == NULL)')
         prnt('    return -1;')
         prnt('  res = PyDict_SetItemString(dct, "%s", o);' % name)