File python-utmp-makeconst-int64.diff of Package python-utmp

--- makeconst.c.orig	2006-03-09 02:29:55.000000000 +0100
+++ makeconst.c	2006-03-09 02:31:07.000000000 +0100
@@ -5,6 +5,8 @@
 
 #define PRL(s) printf(#s" = %i\n", s);
 
+#define PRLL(s) printf(#s" = %lu\n", s);
+
 #define PRLS(s) printf(#s" = \"%s\"\n", s);
 
 
@@ -25,7 +27,7 @@
     PRL(UT_LINESIZE);
     PRL(UT_NAMESIZE);
     PRL(UT_HOSTSIZE);
-    PRL(UT_IDSIZE);
+    PRLL(UT_IDSIZE);
     printf("\n");
     PRLS(UTMP_FILE);
     PRLS(WTMP_FILE);
openSUSE Build Service is sponsored by