~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math/mpx-mul4-*.S: Use more portable type syntax for ambiguous instructions.
[catacomb]
/
symm
/
md5.c
diff --git
a/symm/md5.c
b/symm/md5.c
index
f3b37e1
..
cf6b335
100644
(file)
--- a/
symm/md5.c
+++ b/
symm/md5.c
@@
-204,7
+204,7
@@
void md5_set(md5_ctx *ctx, const void *buf, unsigned long count)
ctx->d = LOAD32_L(p + 12);
ctx->off = 0;
ctx->nl = U32(count);
ctx->d = LOAD32_L(p + 12);
ctx->off = 0;
ctx->nl = U32(count);
- ctx->nh = U32(((count & ~MASK32) >> 16) >> 16);
+ ctx->nh = U32(((count & ~
(unsigned long)
MASK32) >> 16) >> 16);
}
/* --- @md5_hash@ --- *
}
/* --- @md5_hash@ --- *