Prefer "sizeof v" over the equivalent "4".
authorJim Meyering <meyering@redhat.com>
Thu, 31 Jan 2008 12:04:07 +0000 (13:04 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 31 Jan 2008 12:14:09 +0000 (13:14 +0100)
commit1ad225807ea68a44e04f0b081328caedda54f6c1
tree7ba760ae4d4d9cdc4ce77163f589472bd7d6540f
parent575ad1bd0e1b5263116caea5913f424abdde1675
Prefer "sizeof v" over the equivalent "4".

* lib/md4.c (set_uint32): Use "sizeof v" as memcpy length, not 4.
* lib/md5.c (set_uint32): Likewise.
* lib/sha1.c (set_uint32): Likewise.
ChangeLog
lib/md4.c
lib/md5.c
lib/sha1.c