Skip to content

Commit

Permalink
target-alpha: Fix generic ctz64.
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  • Loading branch information
rth7680 authored and aurel32 committed Dec 17, 2009
1 parent dbb30fe commit 0644524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host-utils.h
Expand Up @@ -164,7 +164,7 @@ static inline int ctz64(uint64_t val)
{
#if QEMU_GNUC_PREREQ(3, 4)
if (val)
return __builtin_ctz(val);
return __builtin_ctzll(val);
else
return 64;
#else
Expand Down

0 comments on commit 0644524

Please sign in to comment.