]> granicus.if.org Git - shadow/commit
(shadow_random): Use long instead of size_t.
authorNicolas François <nicolas.francois@centraliens.net>
Tue, 13 Aug 2013 17:16:24 +0000 (19:16 +0200)
committerNicolas François <nicolas.francois@centraliens.net>
Tue, 13 Aug 2013 17:16:24 +0000 (19:16 +0200)
commit5884ba907cc0a38f52a1178fba79dd52571b0531
tree05d76b68b54b77c875ce18138b388590ae8f7815
parent64fe2f7db6c636d7ce4f1f0b9bca47dcc9136d5f
(shadow_random): Use long instead of size_t.

* libmisc/salt.c (shadow_random): Use long instead of size_t.
Compatibility with size_t is easier to check since it's used for
smaller numbers (salt size).
ChangeLog
libmisc/salt.c