diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2008-10-14 14:14:36 +0200 |
---|---|---|
committer | Sven Verdoolaege <skimo@kotnet.org> | 2008-10-14 14:14:36 +0200 |
commit | f719cf8faf20897df40be9e54aa88d1433c92e0e (patch) | |
tree | e7a07575f3b4b3952c67f4d3ae5ee8cb5a9ea66a /isl_seq.c | |
parent | 6bcdd73ae1efb847a94e5dd003c95133016e9685 (diff) | |
download | isl-f719cf8faf20897df40be9e54aa88d1433c92e0e.tar.gz isl-f719cf8faf20897df40be9e54aa88d1433c92e0e.tar.bz2 isl-f719cf8faf20897df40be9e54aa88d1433c92e0e.zip |
use uint_32_t from stdint.h instead of u_int_32_t
Diffstat (limited to 'isl_seq.c')
-rw-r--r-- | isl_seq.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -177,10 +177,10 @@ void isl_seq_inner_product(isl_int *p1, isl_int *p2, unsigned len, isl_int_addmul(*prod, p1[i], p2[i]); } -u_int32_t isl_seq_hash(isl_int *p, unsigned len, unsigned bits) +uint32_t isl_seq_hash(isl_int *p, unsigned len, unsigned bits) { int i; - u_int32_t hash = 2166136261u; + uint32_t hash = 2166136261u; for (i = 0; i < len; ++i) { if (isl_int_is_zero(p[i])) @@ -192,6 +192,6 @@ u_int32_t isl_seq_hash(isl_int *p, unsigned len, unsigned bits) if (bits == 32) return hash; if (bits >= 16) - return (hash >> bits) ^ (hash & (((u_int32_t)1 << bits) - 1)); - return ((hash >> bits) ^ hash) & (((u_int32_t)1 << bits) - 1); + return (hash >> bits) ^ (hash & (((uint32_t)1 << bits) - 1)); + return ((hash >> bits) ^ hash) & (((uint32_t)1 << bits) - 1); } |