From 706a157fc6537070081f055c24d27bb2775a96d8 Mon Sep 17 00:00:00 2001 From: Young-X <92siuyang@gmail.com> Date: Sat, 9 Dec 2017 12:06:57 +0800 Subject: [PATCH] Make sizeof formatting consistent Everything else in that file uses sizeof with parentheses. --- win32/glob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0