Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /Mac/Modules/cf/cfsupport.py [c840c5] .. [ca568f] Maximize Restore

Repo status: analyzing...

  Switch to side-by-side view

--- a/Mac/Modules/cf/cfsupport.py
+++ b/Mac/Modules/cf/cfsupport.py
@@ -427,7 +427,7 @@
         if (PyString_Check(v)) {
             char *cStr;
             if (!PyArg_Parse(v, "es", "ascii", &cStr))
-                return NULL;
+                return 0;
                 *p_itself = CFStringCreateWithCString((CFAllocatorRef)NULL, cStr, kCFStringEncodingASCII);
                 return 1;
         }