Fix --strict-warnings build
[oweals/openssl.git] / crypto / x509 / pcy_tree.c
index 8ab09143730c7156e0f673b79d6a116367cd9193..fa11e5e47a866f9732fb1077d9684aff63662479 100644 (file)
@@ -49,8 +49,8 @@ static void tree_print(BIO *channel,
         curr++;
 
     BIO_printf(channel, "Level print after %s\n", str);
-    BIO_printf(channel, "Printing Up to Level %zd\n",
-               curr - tree->levels);
+    BIO_printf(channel, "Printing Up to Level %ld\n",
+               (long)(curr - tree->levels));
     for (plev = tree->levels; plev != curr; plev++) {
         int i;