X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libbb%2Fpw_encrypt.c;fp=libbb%2Fpw_encrypt.c;h=fe06a8fe68f920d40239b9807d64591fc09853fb;hb=8762512fdb088acefb9f3ea5f7b1e1bf2d336ff3;hp=4cdc2de7635f101111244040ac2e5c16d5c10513;hpb=c31b54fd81690b3df3898437f5865674d06e6577;p=oweals%2Fbusybox.git diff --git a/libbb/pw_encrypt.c b/libbb/pw_encrypt.c index 4cdc2de76..fe06a8fe6 100644 --- a/libbb/pw_encrypt.c +++ b/libbb/pw_encrypt.c @@ -30,7 +30,7 @@ static int i64c(int i) int FAST_FUNC crypt_make_salt(char *p, int cnt /*, int x */) { /* was: x += ... */ - int x = getpid() + monotonic_us(); + unsigned x = getpid() + monotonic_us(); do { /* x = (x*1664525 + 1013904223) % 2^32 generator is lame * (low-order bit is not "random", etc...),