File diald-1.0-type.diff of Package diald

--- diald-1.0/utils.c
+++ diald-1.0/utils.c
@@ -1,3 +1,4 @@
+#include <time.h>
 #include <config.h>
 
 #include <diald.h>
@@ -9,7 +10,7 @@
 char *cdate(time_t now)
 {
     static char dt[128];
-    int len;
+    size_t len;
 
     len = strftime(dt, 128, "%c %Z", localtime(&now));
     if (len == 128) dt[len] = 0;
openSUSE Build Service is sponsored by