From 98d034efe12fbe00ac8a25d5bceb87e80809ed53 Mon Sep 17 00:00:00 2001 From: igor-m Date: Fri, 11 Apr 2014 22:24:56 +0200 Subject: [PATCH] Fix4 --- src/libc/gen/isinff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libc/gen/isinff.c b/src/libc/gen/isinff.c index 3d17f7f..6ffac7d 100644 --- a/src/libc/gen/isinff.c +++ b/src/libc/gen/isinff.c @@ -13,7 +13,7 @@ */ int isinff (float x) { - long lx = *(unsigned long*) &x; + unsigned long lx = *(unsigned long*) &x; long v = (lx & 0x7fffffff) ^ 0x7f800000; return ~((v | -v) >> 31) & (lx >> 30); }