remove unnecessary parentheses from SDL_abs()

This commit is contained in:
Ozkan Sezer 2021-11-05 17:10:02 +03:00
parent 6cbee0634e
commit 6407d4b0a8
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ int SDL_abs(int x)
#if defined(HAVE_ABS) #if defined(HAVE_ABS)
return abs(x); return abs(x);
#else #else
return ((x) < 0 ? -(x) : (x)); return (x < 0) ? -x : x;
#endif #endif
} }