Add return type to function

This commit is contained in:
Pavel Krajcevski 2014-03-20 18:33:11 -04:00
parent 65b874693e
commit 125809d721

View File

@ -106,7 +106,7 @@ namespace ASTCC {
}; };
// Count the number of bits set in a number. // Count the number of bits set in a number.
static inline Popcnt(uint32 n) { static inline uint32 Popcnt(uint32 n) {
uint32 c; uint32 c;
for(c = 0; n; c++) { for(c = 0; n; c++) {
n &= n-1; n &= n-1;