ports/sysutils/safecat/files/patch-tempfile.c
Peter Pentchev c4dffc5e88 Update to safecat 1.12.
PR:		80248
Submitted by:	Vasil Dimov <vd@datamax.bg>
2005-07-04 11:46:39 +00:00

11 lines
445 B
C

--- tempfile.c.orig Mon Jul 4 14:43:35 2005
+++ tempfile.c Mon Jul 4 14:43:48 2005
@@ -26,7 +26,7 @@
taia_tai(&now,&sec);
/* Record the second timestamp on the string. */
- secbuf[fmt_uint64(secbuf,(uint64) sec.x - 4611686018427387904)] = '\0';
+ secbuf[fmt_uint64(secbuf,(uint64) sec.x - 4611686018427387904ULL)] = '\0';
if (!stralloc_cats(tmpf, secbuf)) die_nomem();
/* Append the microsecond timestamp to the string. */