Fix compile error on GCC

This commit is contained in:
PetteriAimonen 2014-01-16 19:15:34 +00:00
parent 6758096516
commit bffee79f7f
1 changed files with 1 additions and 1 deletions

View File

@ -80,5 +80,5 @@ fix16_t fix16_sqrt(fix16_t inValue)
}
#endif
return (neg ? -(fix16_t)result : result);
return (neg ? -(fix16_t)result : (fix16_t)result);
}