Closed chrisdembia closed 7 years ago
Fix clang warning absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
Looks like the right fix to me.
Credit where credit is due...clang suggested it.
Thank you!
Fix clang warning
absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]