$OpenBSD: patch-sysutil_c,v 1.1.1.1 2003/02/19 15:42:02 couderc Exp $
--- sysutil.c.orig	Fri Oct 25 19:32:52 2002
+++ sysutil.c	Sun Feb  2 19:43:03 2003
@@ -1312,7 +1312,7 @@ vsf_sysutil_statbuf_get_sortkey_mtime(
    * more recent dates appear later in the alphabet! Most notably, we must
    * make sure we pad to the same length with 0's 
    */
-  snprintf(intbuf, sizeof(intbuf), "%030ld", p_stat->st_mtime);
+  snprintf(intbuf, sizeof(intbuf), "%030ld", (long int) p_stat->st_mtime);
   return intbuf;
 }
 
