it wants 32-bit arg for memcpy...
Török Edvin authored on 2011/01/20 23:50:41... | ... |
@@ -1128,7 +1128,7 @@ int cli_vm_execute(const struct cli_bc *bc, struct cli_bc_ctx *ctx, const struct |
1128 | 1128 |
void *arg1, *arg2; |
1129 | 1129 |
int64_t res=0; |
1130 | 1130 |
|
1131 |
- READ64(arg3, inst->u.three[2]); |
|
1131 |
+ READ32(arg3, inst->u.three[2]); |
|
1132 | 1132 |
READPOP(arg1, inst->u.three[0], arg3); |
1133 | 1133 |
READPOP(arg2, inst->u.three[1], arg3); |
1134 | 1134 |
memcpy(arg1, arg2, (int32_t)arg3); |