author: Vincent Chen <vincentc@andestech.com> 2018-11-22 11:14:38 +0800
committer: Greentime Hu <greentime@andestech.com> 2018-11-22 18:13:42 +0800
commit: 83312f1b7ae205dca647bf52bbe2d51303cdedfb
parent: 7adb3e998f5bea3e1fd2f76c1cf80d76b8af6626
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/include/math-emu/soft-fp.h b/include/math-emu/soft-fp.h
index 3f284bc03180..5650c1628383 100644
--- a/include/math-emu/soft-fp.h
+++ b/include/math-emu/soft-fp.h
@@ -138,7 +138,7 @@ do { \
_FP_FRAC_ADDI_##wc(X, _FP_WORK_ROUND); \
} while (0)
-#define _FP_ROUND_ZERO(wc, X) 0
+#define _FP_ROUND_ZERO(wc, X) (void)0
#define _FP_ROUND_PINF(wc, X) \
do { \