From 79f06af635066369efbf72e8b04a8f5a8e1ca5e9 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Mon, 14 May 2012 10:15:22 +0000 Subject: [PATCH] Fix from Anton Dedov SVN revision: 2464 --- src/crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypt.c b/src/crypt.c index 229a009f..631c4786 100644 --- a/src/crypt.c +++ b/src/crypt.c @@ -481,7 +481,7 @@ static char *sha256_crypt_r(const char *key, const char *salt, char *buffer, int if (rounds_custom) { #ifdef _MSC_VER - int n = _snprintf(cp, MAX(0, buflen), "%s%zu$", + int n = _snprintf(cp, MAX(0, buflen), "%s%Iu$", sha256_rounds_prefix, rounds); #else int n = snprintf(cp, MAX(0, buflen), "%s%zu$",