summaryrefslogtreecommitdiff
path: root/rx/PRead.c
diff options
context:
space:
mode:
Diffstat (limited to 'rx/PRead.c')
-rw-r--r--rx/PRead.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rx/PRead.c b/rx/PRead.c
index ce09217..2f84641 100644
--- a/rx/PRead.c
+++ b/rx/PRead.c
@@ -136,7 +136,7 @@ NextParam(char *stream, NString *param)
&word);
else {
/* no more elements stop here */
- param->ptr = 0;
+ param->ptr = NULL;
param->length = 0;
return stream;
@@ -163,7 +163,7 @@ GetLiteralValue(NString *literal)
value = vptr = (char *)Malloc(literal->length + 1);
if (!value)
- return 0;
+ return NULL;
ptr = literal->ptr;
limit = ptr + literal->length;