[host] delete redundant / sizeof(char)

`sizeof(char) == 1` always per standard, so this is redundant.
This commit is contained in:
Quantum
2026-07-17 21:29:52 -04:00
committed by Geoffrey McRae
parent e9967660b7
commit 58d24da7f3

View File

@@ -102,7 +102,7 @@ void winerr(void)
char buf[256];
FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
NULL, GetLastError(), MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
buf, (sizeof(buf) / sizeof(char)), NULL);
buf, sizeof(buf), NULL);
doLog("0x%08lx - %s", GetLastError(), buf);
}