# HG changeset patch # User Matti Hamalainen # Date 1560448020 -10800 # Node ID 0f114626fda84034ba9865c13a81a456466c21e5 # Parent 4881301510976a91e742072010344eaf25ae5866 Add protective parenthesis in macro argument. diff -r 488130151097 -r 0f114626fda8 tools/lib64fmts.c --- a/tools/lib64fmts.c Thu Jun 13 07:52:26 2019 +0300 +++ b/tools/lib64fmts.c Thu Jun 13 20:47:00 2019 +0300 @@ -1641,14 +1641,14 @@ { DO_COPY, (dtype), (start) + ((osize) * (oindex)), (bindex), (bsize), 0, NULL, NULL } #define DEF_REPEAT_BLOCK_8(dtype, start, sindex, osize, bsize) \ - DEF_REPEAT_BLOCK((dtype), (start), 0, (sindex + 0), (osize), (bsize)), \ - DEF_REPEAT_BLOCK((dtype), (start), 1, (sindex + 1), (osize), (bsize)), \ - DEF_REPEAT_BLOCK((dtype), (start), 2, (sindex + 2), (osize), (bsize)), \ - DEF_REPEAT_BLOCK((dtype), (start), 3, (sindex + 3), (osize), (bsize)), \ - DEF_REPEAT_BLOCK((dtype), (start), 4, (sindex + 4), (osize), (bsize)), \ - DEF_REPEAT_BLOCK((dtype), (start), 5, (sindex + 5), (osize), (bsize)), \ - DEF_REPEAT_BLOCK((dtype), (start), 6, (sindex + 6), (osize), (bsize)), \ - DEF_REPEAT_BLOCK((dtype), (start), 7, (sindex + 7), (osize), (bsize)) + DEF_REPEAT_BLOCK((dtype), (start), 0, ((sindex) + 0), (osize), (bsize)), \ + DEF_REPEAT_BLOCK((dtype), (start), 1, ((sindex) + 1), (osize), (bsize)), \ + DEF_REPEAT_BLOCK((dtype), (start), 2, ((sindex) + 2), (osize), (bsize)), \ + DEF_REPEAT_BLOCK((dtype), (start), 3, ((sindex) + 3), (osize), (bsize)), \ + DEF_REPEAT_BLOCK((dtype), (start), 4, ((sindex) + 4), (osize), (bsize)), \ + DEF_REPEAT_BLOCK((dtype), (start), 5, ((sindex) + 5), (osize), (bsize)), \ + DEF_REPEAT_BLOCK((dtype), (start), 6, ((sindex) + 6), (osize), (bsize)), \ + DEF_REPEAT_BLOCK((dtype), (start), 7, ((sindex) + 7), (osize), (bsize)) //