
$FreeBSD: ports/misc/misterproper/files/patch-aa,v 1.2 2001/04/17 07:49:08 sobomax Exp $

--- src/main.c.orig	Sat Mar  3 15:03:28 2001
+++ src/main.c	Tue Apr 17 10:16:55 2001
@@ -230,7 +230,7 @@
 					g_free(thing);
 					continue;
 				}
-				if ((thing->frequency = (time_t) strtoull(skunk, NULL, 10))
+				if ((thing->frequency = (time_t) strtoul(skunk, NULL, 10))
 					== (time_t) 0ULL) {
 					g_warning(_("Corrupted database : null frequency\n"));
 					g_free(thing);
@@ -247,7 +247,7 @@
 						(rand() % (thing->frequency * 4)) - 
 						(thing->frequency * 2) + thing->frequency / 2;
 				} else {
-					thing->last = (time_t) strtoull(skunk, NULL, 10);
+					thing->last = (time_t) strtoul(skunk, NULL, 10);
 				}
 				if ((skunk = strtok(NULL, DBSEP)) == NULL) {
 					g_warning(_
