Add macro guards

This commit is contained in:
Nils O. Selåsdal
2013-05-20 23:09:54 +02:00
parent 86c16a3c4c
commit 120299d7c3
+1 -1
View File
@@ -8,7 +8,7 @@
((type)((a) + (b)) >= (a) ? (a) + (b) : (max_val))
#define UC_SAT_SUB(a, b)\
(a >= b ? (a) - (b) : 0)
((a) >= (b) ? (a) - (b) : 0)
#define UC_SAT_MULT(a, b, type, max_val)\
((b) == 0 ? 0 :\