Skip to content

Commit 7c8ca9a

Browse files
committed
fix: compilation on Windows
1 parent d0cfbe9 commit 7c8ca9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/instructions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ void mul() {
297297
//MSVC wants to link __allmul, but a mul is just a lot of add, isn't it ?
298298

299299
long long v1 = *get_reg(state->args->arg1, 0);
300-
long long v2 = apply_cast(get_value(state->args->arg2, 0));
300+
long long v2 = apply_cast(get_value(state->args->arg2, 0), state->args->arg2);
301301
long long result = 0;
302302
int isNegative = 0;
303303

0 commit comments

Comments
 (0)