提交 b5de5bb1 编写于 作者: M mdoerr

8234591: [11u] Build with old C compiler broken by 8223490

Reviewed-by: phh
上级 2072d440
......@@ -136,7 +136,8 @@ findZoneinfoFile(char *buf, size_t size, const char *dir)
if (strcmp(dir, ZONEINFO_DIR) == 0) {
/* fast path for 1st iteration */
for (unsigned int i = 0; i < sizeof (popularZones) / sizeof (popularZones[0]); i++) {
unsigned int i;
for (i = 0; i < sizeof (popularZones) / sizeof (popularZones[0]); i++) {
pathname = getPathName(dir, popularZones[i]);
if (pathname == NULL) {
continue;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册