commit | 7cdf5eb5b98ea8eb25c5fce748f3e06001f2a02e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Apr 06 12:34:45 1992 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Apr 06 12:34:45 1992 +0000 |
tree | 15a7092f45207e877bfba9f73edcf56253ce1d8d | |
parent | 74b31c9826fadc51dcbf41943adfa4f254ba2020 [diff] [blame] |
Don't use NULL as 0 int!
diff --git a/Python/cgensupport.c b/Python/cgensupport.c index b24c80a..a3023eb 100644 --- a/Python/cgensupport.c +++ b/Python/cgensupport.c
@@ -171,7 +171,7 @@ { object *v; if (!getiobjectarg(args, nargs, i, &v)) - return NULL; + return 0; if (!is_stringobject(v)) { return err_badarg(); }