Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 8, 2013
1 parent 1ef5acd commit 391ace6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions include/SDL_bits.h
Expand Up @@ -53,10 +53,10 @@ SDL_MostSignificantBitIndex32(Uint32 x)
#if defined(__GNUC__) && __GNUC__ >= 4
/* Count Leading Zeroes builtin in GCC.
* http://gcc.gnu.org/onlinedocs/gcc-4.3.4/gcc/Other-Builtins.html
*/
if (x == 0) {
return -1;
}
*/
if (x == 0) {
return -1;
}
return 31 - __builtin_clz(x);
#else
/* Based off of Bit Twiddling Hacks by Sean Eron Anderson
Expand All @@ -67,11 +67,11 @@ SDL_MostSignificantBitIndex32(Uint32 x)
const int S[] = {1, 2, 4, 8, 16};

int msbIndex = 0;
int i;
int i;

if (x == 0) {
return -1;
}
if (x == 0) {
return -1;
}

for (i = 4; i >= 0; i--)
{
Expand Down

0 comments on commit 391ace6

Please sign in to comment.