commit - 4262d44a3b0184fe8a501dedb5ea0de3baa71eff
commit + f47d9bee120024e49d029f17aba0f74666d5cefe
blob - 22b4fe3f1786fdc470ca2e393efd9ded688a2049
blob + 2e703c37c0aa7a184ea80e5a0f177b12fc42bc0f
--- lib/libc/time/strftime.c
+++ lib/libc/time/strftime.c
-/* $OpenBSD: strftime.c,v 1.33 2020/07/16 20:08:12 millert Exp $ */
+/* $OpenBSD: strftime.c,v 1.34 2025/05/16 14:24:39 millert Exp $ */
/*
** Copyright (c) 1989, 1993
** The Regents of the University of California. All rights reserved.
tm = *t;
mkt = mktime(&tm);
(void) snprintf(buf, sizeof buf,
- "%ld", (long) mkt);
+ "%lld", mkt);
pt = _add(buf, pt, ptlim);
}
continue;