From f6d11bc2fdbeac74e0fa735d6d781faa17c1a355 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 12 Oct 2014 11:01:57 -0600 Subject: [PATCH] Back out an incorrect change --- include/fixedmath.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fixedmath.h b/include/fixedmath.h index e1a7786508..7ff6ef262b 100644 --- a/include/fixedmath.h +++ b/include/fixedmath.h @@ -185,8 +185,8 @@ /* Division operators */ -# define b16divb16(a,b) b32tob16(b16tob32(a)/(b32_t)(b)) -# define ub16divub16(a,b) ub32toub16(ub16toub32(a)/(ub32_t)(b)) +# define b16divb16(a,b) (b16_t)(b16tob32(a)/(b32_t)(b)) +# define ub16divub16(a,b) (ub16_t)(ub16toub32(a)/(ub32_t)(b)) #endif /**************************************************************************