diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-10-12 11:01:57 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-10-12 11:01:57 -0600 |
commit | 23f3c746ef9d597b08278b8c8beb620c9b9d48ef (patch) | |
tree | eb0b1c2a543f7727b15dc682b04b91fcf79028a0 | |
parent | e7b8284f85e94b738dff37ae80f0874bb1c32b94 (diff) | |
download | nuttx-23f3c746ef9d597b08278b8c8beb620c9b9d48ef.tar.gz nuttx-23f3c746ef9d597b08278b8c8beb620c9b9d48ef.tar.bz2 nuttx-23f3c746ef9d597b08278b8c8beb620c9b9d48ef.zip |
Back out an incorrect change
-rw-r--r-- | nuttx/include/fixedmath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/fixedmath.h b/nuttx/include/fixedmath.h index e1a778650..7ff6ef262 100644 --- a/nuttx/include/fixedmath.h +++ b/nuttx/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 /************************************************************************** |