Fix gcc warning

This commit is contained in:
Justine Tunney 2024-01-18 16:48:02 -08:00
parent 8834dde0c2
commit 1226eb7a5e
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -21,14 +21,14 @@
/** /**
* Finds lowest set bit in word. * Finds lowest set bit in word.
*/ */
int ffs(int x) { int(ffs)(int x) {
return __builtin_ffs(x); return __builtin_ffs(x);
} }
/** /**
* Finds lowest set bit in word. * Finds lowest set bit in word.
*/ */
int ffsl(long x) { int(ffsl)(long x) {
return __builtin_ffsl(x); return __builtin_ffsl(x);
} }