mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fix from Anton Dedov <adedov@parallels.com>
SVN revision: 2464
This commit is contained in:
parent
f4c0313a0a
commit
79f06af635
@ -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$",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user