aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM.xs10
1 files changed, 5 insertions, 5 deletions
diff --git a/URPM.xs b/URPM.xs
index d6453d0..1e0559e 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -823,7 +823,7 @@ pack_header(URPM__Package pkg) {
}
if (!(pkg->flag & FLAG_NO_HEADER_FREE)) pkg->h =headerFree(pkg->h);
- pkg->h = 0;
+ pkg->h = NULL;
}
}
@@ -2782,7 +2782,7 @@ Db_traverse(db,callback)
call_sv(callback, G_DISCARD | G_SCALAR);
SPAGAIN;
- pkg->h = 0; /* avoid using it anymore, in case it has been copied inside callback */
+ pkg->h = NULL; /* avoid using it anymore, in case it has been copied inside callback */
}
++count;
}
@@ -2836,7 +2836,7 @@ Db_traverse_tag(db,tag,names,callback)
call_sv(callback, G_DISCARD | G_SCALAR);
SPAGAIN;
- pkg->h = 0; /* avoid using it anymore, in case it has been copied inside callback */
+ pkg->h = NULL; /* avoid using it anymore, in case it has been copied inside callback */
}
++count;
}
@@ -2881,7 +2881,7 @@ Db_traverse_tag_find(db,tag,name,callback)
int count = call_sv(callback, G_SCALAR);
SPAGAIN;
- pkg->h = 0; /* avoid using it anymore, in case it has been copied inside callback */
+ pkg->h = NULL; /* avoid using it anymore, in case it has been copied inside callback */
if (count == 1 && POPi) {
found = 1;
@@ -3027,7 +3027,7 @@ Trans_traverse(trans, callback)
PUTBACK;
call_sv(callback, G_DISCARD | G_SCALAR);
SPAGAIN;
- pkg->h = 0; /* avoid using it anymore, in case it has been copied inside callback */
+ pkg->h = NULL; /* avoid using it anymore, in case it has been copied inside callback */
}
++c;
}