summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Src/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/params.c b/Src/params.c
index a85e5a51e..87586a209 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -827,7 +827,7 @@ createparamtable(void)
     }
     popheap();
 #ifndef USE_SET_UNSET_ENV
-    *envp = '\0';
+    *envp = NULL;
 #endif
     opts[ALLEXPORT] = oae;