Bug fix.
[openssl.git] / crypto / bio / b_print.c
index b8d94369b3f593ae54ae5a27009eac0362eacaf4..21248fbb3bdb1e43503baae5f70963b7ae9ed804 100644 (file)
@@ -72,7 +72,7 @@
 
 #ifdef BN_LLONG
 # ifndef HAVE_LONG_LONG
-#  define HAVE_LONG_LONG
+#  define HAVE_LONG_LONG 1
 # endif
 #endif
 
@@ -315,7 +315,7 @@ dopr(
                 flags |= DP_F_UNSIGNED;
                 switch (cflags) {
                 case DP_C_SHORT:
-                    value = (unsigned short int)va_arg(args, int);
+                    value = (unsigned short int)va_arg(args, unsigned int);
                     break;
                 case DP_C_LONG:
                     value = (LLONG) va_arg(args,