X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fodr.h;h=0dd0602a2a9d55dc739c18d4facbac0e35d9d9cc;hp=f08158177c005c04edab132e98c136f82e1ba943;hb=4f3bcae93d51a26709c12b51261c3d95af610cb2;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35 diff --git a/include/yaz/odr.h b/include/yaz/odr.h index f081581..0dd0602 100644 --- a/include/yaz/odr.h +++ b/include/yaz/odr.h @@ -211,7 +211,7 @@ YAZ_EXPORT Odr_null *odr_nullval(void); #define ODR_MASK_SET(mask, num)\ (((mask)->bits[(num) >> 3] |= 0X80 >> ((num) & 0X07)),\ - (mask)->top < (num) >> 3 ? ((mask)->top = (num) >> 3) : 0) + (void) ((mask)->top < (num) >> 3 ? ((mask)->top = (num) >> 3) : 0)) #define ODR_MASK_CLEAR(mask, num)\ ((mask)->bits[(num) >> 3] &= ~(0X80 >> ((num) & 0X07)))