summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2009-10-05 17:32:09 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2009-10-05 17:32:09 +0200
commit472406edf0ab36be0b784384a438ef483a6233dc (patch)
treec4cce887e0374149179961380e083fb8c5e278e1 /utils
parent164032f3fcf86d4f08244764aab1b68a0fb6c71e (diff)
downloadeurephia-472406edf0ab36be0b784384a438ef483a6233dc.tar.gz
eurephia-472406edf0ab36be0b784384a438ef483a6233dc.tar.xz
eurephia-472406edf0ab36be0b784384a438ef483a6233dc.zip
Fixed compile warnings 32bit platforms
Diffstat (limited to 'utils')
-rw-r--r--utils/saltdecode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/saltdecode.c b/utils/saltdecode.c
index 137cb10..45254e0 100644
--- a/utils/saltdecode.c
+++ b/utils/saltdecode.c
@@ -113,7 +113,9 @@ int main(int argc, char **argv) {
salt_len = saltinfo & 0x000000ff;
rounds = MAX(ROUNDS_MIN, MIN(((saltinfo & 0xffffff00) >> 8), ROUNDS_MAX));
- printf("\nSalt length: %ld\nHash rounds: %ld\n\n", salt_len, rounds);
+ printf("\nSalt length: %ld\nHash rounds: %ld\n\n",
+ (unsigned long int) salt_len,
+ (unsigned long int) rounds);
return 0;
}