diff options
Diffstat (limited to 'src/c/operations/interfaces/int_OpIns.h')
-rw-r--r-- | src/c/operations/interfaces/int_OpIns.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/operations/interfaces/int_OpIns.h b/src/c/operations/interfaces/int_OpIns.h index 5d3798da..d15876ba 100644 --- a/src/c/operations/interfaces/int_OpIns.h +++ b/src/c/operations/interfaces/int_OpIns.h @@ -357,8 +357,8 @@ /* a(x,y,z) = b */ #define s3s0s0s0s0OpIns(in, size1, row, col, level, newVal) \ - in[(row - 1) + (col - 1) * size1[0] + (level - 1) * size1[0] * size1[1]] = newVal; + in[(int) ((row - 1) + (col - 1) * size1[0] + (level - 1) * size1[0] * size1[1])] = newVal; #define d3d0d0d0d0OpIns(in, size1, row, col, level, newVal) \ - in[(row - 1) + (col - 1) * size1[0] + (level - 1) * size1[0] * size1[1]] = newVal; + in[(int) ((row - 1) + (col - 1) * size1[0] + (level - 1) * size1[0] * size1[1])] = newVal; #endif /* !__OPINS_H__ */ |