Make sizeof formatting consistent

Everything else in that file uses sizeof with parentheses.
This commit is contained in:
Young-X 2017-12-09 12:06:57 +08:00 committed by Nikita Popov
parent e4e26f2428
commit 706a157fc6

View File

@ -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);