com php-src: Make sizeof formatting consistent: win32/glob.c

From: Date: Sat, 09 Dec 2017 17:34:14 +0000
Subject: com php-src: Make sizeof formatting consistent: win32/glob.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100542@lists.php.net to get a copy of this message
Commit: 706a157fc6537070081f055c24d27bb2775a96d8 Author: Young-X <92siuyang@gmail.com> Sat, 9 Dec 2017 12:06:57 +0800 Committer: Nikita Popov <nikita.ppv@gmail.com> Sat, 9 Dec 2017 18:34:14 +0100 Parents: e4e26f24285511c5aa2a359ff7e93c1748fdda3b Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=706a157fc6537070081f055c24d27bb2775a96d8 Log: Make sizeof formatting consistent Everything else in that file uses sizeof with parentheses. Changed paths: M win32/glob.c Diff: diff --git a/win32/glob.c b/win32/glob.c index 8a40f7f..8c74ae7 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);

« previous php.cvs (#100542) next »