blob: 13e3f1044a7722453e1d18005e59172c7cb8d137 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-cd,v 1.6 2012/07/27 19:29:02 drochner Exp $
make sure a time_t fits in
--- sbr/fmt_scan.c.orig 2012-06-11 04:06:19.000000000 +0000
+++ sbr/fmt_scan.c
@@ -298,7 +298,7 @@ fmt_scan (struct format *format, char *s
unsigned char *str = NULL;
char buffer[BUFSIZ], buffer2[BUFSIZ];
int i, c, ljust, n;
- int value = 0;
+ long long value = 0;
time_t t;
struct format *fmt;
struct comp *comp;
|