fix indention with spaces in powerpc asm
[oweals/musl.git] / src / internal / intscan.c
index d65fc45c3c5359a7ffc88066b13cfeaf805a02fb..69350efa6380ed65577cdcad84f7d470cd234b3c 100644 (file)
@@ -1,5 +1,6 @@
 #include <limits.h>
 #include <errno.h>
+#include <ctype.h>
 #include "shgetc.h"
 
 /* Lookup table for digit values. -1==255>=36 -> invalid */
@@ -32,7 +33,7 @@ unsigned long long __intscan(FILE *f, unsigned base, int pok, unsigned long long
                errno = EINVAL;
                return 0;
        }
-       c = shgetc(f);
+       while (isspace((c=shgetc(f))));
        if (c=='+' || c=='-') {
                neg = -(c=='-');
                c = shgetc(f);