include/SDL_bits.h
changeset 7605 7a47881c2800
parent 7597 b7219f6cf67a
child 8149 681eb46b8ac4
     1.1 --- a/include/SDL_bits.h	Thu Aug 08 11:41:35 2013 -0400
     1.2 +++ b/include/SDL_bits.h	Thu Aug 08 12:20:22 2013 -0700
     1.3 @@ -53,10 +53,10 @@
     1.4  #if defined(__GNUC__) && __GNUC__ >= 4
     1.5      /* Count Leading Zeroes builtin in GCC.
     1.6       * http://gcc.gnu.org/onlinedocs/gcc-4.3.4/gcc/Other-Builtins.html
     1.7 -	 */
     1.8 -	if (x == 0) {
     1.9 -		return -1;
    1.10 -	}
    1.11 +     */
    1.12 +    if (x == 0) {
    1.13 +        return -1;
    1.14 +    }
    1.15      return 31 - __builtin_clz(x);
    1.16  #else
    1.17      /* Based off of Bit Twiddling Hacks by Sean Eron Anderson
    1.18 @@ -67,11 +67,11 @@
    1.19      const int    S[] = {1, 2, 4, 8, 16};
    1.20  
    1.21      int msbIndex = 0;
    1.22 -	int i;
    1.23 +    int i;
    1.24  
    1.25 -	if (x == 0) {
    1.26 -		return -1;
    1.27 -	}
    1.28 +    if (x == 0) {
    1.29 +        return -1;
    1.30 +    }
    1.31  
    1.32      for (i = 4; i >= 0; i--)
    1.33      {