* threadproc/win32/proc.c
(quote_arg): Use '\0' instead of 0 for character constant.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1929719 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/threadproc/win32/proc.c b/threadproc/win32/proc.c
index c2488a2..c0c0a5b 100644
--- a/threadproc/win32/proc.c
+++ b/threadproc/win32/proc.c
@@ -355,7 +355,7 @@
ch++;
}
- if (*ch == 0) {
+ if (*ch == '\0') {
/* Escape backslashes. */
needed += backslash_count * 2;
break;
@@ -391,7 +391,7 @@
ch++;
}
- if (*ch == 0) {
+ if (*ch == '\0') {
memset(dst, '\\', backslash_count * 2);
dst += backslash_count * 2;
break;
@@ -408,7 +408,7 @@
}
}
*dst++ = '"';
- *dst = 0;
+ *dst = '\0';
return escaped;
}