From: Young-X <92siuyang@gmail.com> Date: Sat, 9 Dec 2017 04:06:57 +0000 (+0800) Subject: Make sizeof formatting consistent X-Git-Tag: php-7.3.0alpha1~838 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=706a157fc6537070081f055c24d27bb2775a96d8;p=php Make sizeof formatting consistent Everything else in that file uses sizeof with parentheses. --- diff --git a/win32/glob.c b/win32/glob.c index 8a40f7f506..8c74ae7c3c 100644 --- a/win32/glob.c +++ b/win32/glob.c @@ -837,7 +837,7 @@ g_opendir(str, pglob) char buf[MAXPATHLEN]; if (!*str) - strlcpy(buf, ".", sizeof buf); + strlcpy(buf, ".", sizeof(buf)); else { if (g_Ctoc(str, buf, sizeof(buf))) return(NULL);