diff options
author | Young-X <92siuyang@gmail.com> | 2017-12-09 12:06:57 +0800 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-12-09 18:34:14 +0100 |
commit | 706a157fc6537070081f055c24d27bb2775a96d8 (patch) | |
tree | ba7dee6f1355db4f23d303db1ba62922d0404a15 /win32 | |
parent | e4e26f24285511c5aa2a359ff7e93c1748fdda3b (diff) | |
download | php-git-706a157fc6537070081f055c24d27bb2775a96d8.tar.gz |
Make sizeof formatting consistent
Everything else in that file uses sizeof with parentheses.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/glob.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |