constants should be unsigned
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 12 Feb 2010 07:27:27 +0000 (07:27 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 12 Feb 2010 07:27:27 +0000 (07:27 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@46108 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/include/eina_inline_f32p32.x

index 7eaaec3..73480de 100644 (file)
@@ -71,7 +71,7 @@ eina_f32p32_div(Eina_F32p32 a, Eina_F32p32 b)
    sign = a ^ b;
 
    if (b == 0)
-     return sign < 0 ? (Eina_F32p32) 0x8000000000000000ll : (Eina_F32p32) 0x7FFFFFFFFFFFFFFFll;
+     return sign < 0 ? (Eina_F32p32) 0x8000000000000000ull : (Eina_F32p32) 0x7FFFFFFFFFFFFFFFull;
 
    result = (eina_f32p32_mul(eina_fp32p32_llabs(a),  (((uint64_t) 1 << 62) / ((uint64_t)(eina_fp32p32_llabs(b)) >> 2))));