diff options
author | nutricato | 2009-07-07 14:41:59 +0000 |
---|---|---|
committer | nutricato | 2009-07-07 14:41:59 +0000 |
commit | 0b992f0195b8d0abe9f74ac3d9294d1b1c14c44b (patch) | |
tree | 8987ca0c33af5eabaea9bd5f317413557c617954 /src/c/operations/interfaces/int_OpIns.h | |
parent | a484e92e9ca595b25036c11d6b259ba98ee1765c (diff) | |
download | scilab2c-0b992f0195b8d0abe9f74ac3d9294d1b1c14c44b.tar.gz scilab2c-0b992f0195b8d0abe9f74ac3d9294d1b1c14c44b.tar.bz2 scilab2c-0b992f0195b8d0abe9f74ac3d9294d1b1c14c44b.zip |
Diffstat (limited to 'src/c/operations/interfaces/int_OpIns.h')
-rw-r--r-- | src/c/operations/interfaces/int_OpIns.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/c/operations/interfaces/int_OpIns.h b/src/c/operations/interfaces/int_OpIns.h index 20fa8cb6..6f6d0227 100644 --- a/src/c/operations/interfaces/int_OpIns.h +++ b/src/c/operations/interfaces/int_OpIns.h @@ -16,13 +16,13 @@ /* a(3)=2 */ -#define s2s0s0OpIns(in,size,indice,newVal) in[indice-1]=newVal; +#define s2s0s0OpIns(in,size,indice,newVal) in[(int) indice-1]=newVal; -#define d2d0d0OpIns(in,size,indice,newVal) in[indice-1]=newVal; +#define d2d0d0OpIns(in,size,indice,newVal) in[(int) indice-1]=newVal; -#define c2s0c0OpIns(in,size,indice,newVal) in[indice-1]=newVal; +#define c2s0c0OpIns(in,size,indice,newVal) in[(int) indice-1]=newVal; -#define z2d0z0OpIns(in,size,indice,newVal) in[indice-1]=newVal; +#define z2d0z0OpIns(in,size,indice,newVal) in[(int) indice-1]=newVal; /* a([1 2])=2 */ #define s2s2s0OpIns(in,size1,indices,size2,newVal) {int i;\ |