From 4052e2ac93a448ad36c006c295504aedf928f292 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Fri, 29 Jul 2011 17:39:53 +0200 Subject: [PATCH] Use NULL instead of 0 for null pointer --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index 82fd28d4d..a9ace6e34 100644 --- a/util.c +++ b/util.c @@ -948,7 +948,7 @@ gnu_getcwd(void) } free(buffer); if (errno != ERANGE) { - return 0; + return NULL; } size *= 2; } -- 2.47.3