- Various tweaks to shut up compiler warnings.

- Regenerated with the correct calls to PyType_Ready and the correct
  deallocator calls.
This commit is contained in:
Jack Jansen 2002-12-23 23:16:25 +00:00
parent 74d93c81c1
commit b734869f46
27 changed files with 157 additions and 86 deletions

View file

@ -566,7 +566,7 @@ MacOS_openrf(PyObject *self, PyObject *args)
FILE *tfp;
char pathname[PATHNAMELEN];
if ( err=PyMac_GetFullPathname(&fss, pathname, PATHNAMELEN) ) {
if ( (err=PyMac_GetFullPathname(&fss, pathname, PATHNAMELEN)) ) {
PyMac_Error(err);
Py_DECREF(fp);
return NULL;