Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8969194

Browse files
committed
Fix incorrect format placeholder
for commit749a9e2
1 parentb0a4c3e commit8969194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contrib/pgcrypto/crypt-gensalt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ _crypt_gensalt_sha(unsigned long count,
214214

215215
/* Skip magic bytes, set by callers */
216216
s_ptr+=3;
217-
if ((rc=pg_snprintf(s_ptr,18,"rounds=%ld$",count)) <=0)
217+
if ((rc=pg_snprintf(s_ptr,18,"rounds=%lu$",count)) <=0)
218218
ereport(ERROR,
219219
errcode(ERRCODE_INTERNAL_ERROR),
220220
errmsg("cannot format salt string"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp