Mercurial > hg > dmlib
changeset 2192:0f114626fda8
Add protective parenthesis in macro argument.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 13 Jun 2019 20:47:00 +0300 |
parents | 488130151097 |
children | c63df53fdfce |
files | tools/lib64fmts.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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)) //