diff options
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/wordaccess_64_le.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/wordaccess_64_le.h b/lib/util/wordaccess_64_le.h index 83bbf2bf..ad316df2 100644 --- a/lib/util/wordaccess_64_le.h +++ b/lib/util/wordaccess_64_le.h @@ -46,7 +46,7 @@ wordintClz(wordint const x){ /* Find the data type closest to 64 bits, and file off any extra. */ else if ((s=sizeof(long int)) >= 8) - return (__builtin_clzl((int)x << (s - 8) * 8)); + return (__builtin_clzl((long int)x << (s - 8) * 8)); else if ((s=sizeof(long long int)) >= 8) return (__builtin_clzll((long long int)x << (s - 8) * 8)); else |