From 5329c0aec8b450a85841cb906991edff134a5829 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 9 Feb 2015 21:39:18 +0000 Subject: [PATCH] Use __builtin_popcountl() instead of __builtin_popcount(). Submitted by: jkim --- sys/sys/bitset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/bitset.h b/sys/sys/bitset.h index 9871c241f260..5ad28d399128 100644 --- a/sys/sys/bitset.h +++ b/sys/sys/bitset.h @@ -182,7 +182,7 @@ \ __count = 0; \ for (__i = 0; __i < __bitset_words((_s)); __i++) \ - __count += __builtin_popcount((p)->__bits[__i]); \ + __count += __builtin_popcountl((p)->__bits[__i]); \ __count; \ })