From 25db2fc0fc7710290d5ecee6e4e1a9db7b828c80 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Thu, 31 Jan 2008 15:24:13 +0000 Subject: Release 10.41.02 git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@574 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/util/wordaccess_64_le.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util') 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 -- cgit 1.4.1