diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2002-04-26 00:41:39 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2002-04-26 00:41:39 +0000 |
commit | 7c436af33814ce716234caa65f470fe47c2a0efa (patch) | |
tree | e51dccce04c0b8b80a5b9b4734b273846081317e /ext/Digest/MD5/MD5.xs | |
parent | 530b72baaecf6b4faf758663fc0fded0f4426004 (diff) | |
download | perl-7c436af33814ce716234caa65f470fe47c2a0efa.tar.gz |
various signed/unsigned mismatch nits
p4raw-id: //depot/perl@16173
Diffstat (limited to 'ext/Digest/MD5/MD5.xs')
-rw-r--r-- | ext/Digest/MD5/MD5.xs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/Digest/MD5/MD5.xs b/ext/Digest/MD5/MD5.xs index 5828df3350..0852e526db 100644 --- a/ext/Digest/MD5/MD5.xs +++ b/ext/Digest/MD5/MD5.xs @@ -80,10 +80,10 @@ extern "C" { #ifndef BYTESWAP static void u2s(U32 u, U8* s) { - *s++ = u & 0xFF; - *s++ = (u >> 8) & 0xFF; - *s++ = (u >> 16) & 0xFF; - *s = (u >> 24) & 0xFF; + *s++ = (U8)(u & 0xFF); + *s++ = (U8)((u >> 8) & 0xFF); + *s++ = (U8)((u >> 16) & 0xFF); + *s = (U8)((u >> 24) & 0xFF); } #define s2u(s,u) ((u) = (U32)(*s) | \ |