Skip to content

Commit 68e7753

Browse files
authored
flambda-backend: Ports #1247 (suppress caml_print_timestamp warning) (#2049)
1 parent 27a795e commit 68e7753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/unix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ void caml_print_timestamp(FILE* channel, int formatted)
483483
fprintf(channel, "%ld.%06d ", (long)tv.tv_sec, (int)tv.tv_usec);
484484
} else {
485485
struct tm tm;
486-
char tz[10] = "Z";
486+
char tz[64] = "Z";
487487
localtime_r(&tv.tv_sec, &tm);
488488
if (tm.tm_gmtoff != 0) {
489489
long tzhour = tm.tm_gmtoff / 60 / 60;

0 commit comments

Comments
 (0)