]> eyrie.org Git - kerberos/krb5-strength.git/blobdiff - cracklib/packer.c
Use the correct variable sizes for int8/int16/int32 in CrackLib
[kerberos/krb5-strength.git] / cracklib / packer.c
index a9456ff09a7993abcc0679ee0a9eb7249089c3f9..11ee9376ddf8b468ee2395c2c8c1949e0b976984 100644 (file)
@@ -11,6 +11,8 @@
  *
  * 2009-10-14  Russ Allbery <rra@stanford.edu>
  *   - Add ANSI C protototypes for all functions.
+ * 2010-03-14  Russ Allbery <rra@stanford.edu>
+ *   - Use unsigned long instead of int32 to avoid printf warnings.
  */
 
 #include "packer.h"
@@ -18,8 +20,8 @@
 int
 main(int argc, char *argv[])
 {
-    int32 readed;
-    int32 wrote;
+    unsigned long readed;
+    unsigned long wrote;
     PWDICT *pwp;
     char buffer[STRINGSIZE];