Browse code

core: minor macro fix

Andrei Pelinescu-Onciul authored on 22/09/2009 14:34:04
Showing 1 changed files
... ...
@@ -174,7 +174,7 @@ struct msgid_var{
174 174
 
175 175
 /* return the value or 0 if the msg_id doesn't match */
176 176
 #define get_msgid_val(var, id, type)\
177
-	(type)((type)((var).msgid!=(id))-1)&((var).u.type##_val)
177
+	((type)((type)((var).msgid!=(id))-1)&((var).u.type##_val))
178 178
 
179 179
 #define set_msgid_val(var, id, type, value)\
180 180
 	do{\