summaryrefslogtreecommitdiffstats
path: root/Modules/cgensupport.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-04-06 12:34:45 (GMT)
committerGuido van Rossum <guido@python.org>1992-04-06 12:34:45 (GMT)
commit7cdf5eb5b98ea8eb25c5fce748f3e06001f2a02e (patch)
tree15a7092f45207e877bfba9f73edcf56253ce1d8d /Modules/cgensupport.c
parent74b31c9826fadc51dcbf41943adfa4f254ba2020 (diff)
downloadcpython-7cdf5eb5b98ea8eb25c5fce748f3e06001f2a02e.zip
cpython-7cdf5eb5b98ea8eb25c5fce748f3e06001f2a02e.tar.gz
cpython-7cdf5eb5b98ea8eb25c5fce748f3e06001f2a02e.tar.bz2
Don't use NULL as 0 int!
Diffstat (limited to 'Modules/cgensupport.c')
-rw-r--r--Modules/cgensupport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cgensupport.c b/Modules/cgensupport.c
index b24c80a..a3023eb 100644
--- a/Modules/cgensupport.c
+++ b/Modules/cgensupport.c
@@ -171,7 +171,7 @@ getistringarg(args, nargs, i, p_arg)
{
object *v;
if (!getiobjectarg(args, nargs, i, &v))
- return NULL;
+ return 0;
if (!is_stringobject(v)) {
return err_badarg();
}