Skip to content

Commit 67c7137

Browse files
Pointer fix
1 parent d780c4e commit 67c7137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hosts/host-sdl/host-sdl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ int main(int argc, char *argv[]) {
377377
uvm32_arg_setval(vmst, &evt, RET, SDL_GetTicks());
378378
} break;
379379
case UVM32_SYSCALL_RAND:
380-
uvm32_arg_setval(&vmst, &evt, RET, rand());
380+
uvm32_arg_setval(vmst, &evt, RET, rand());
381381
break;
382382
case UVM32_SYSCALL_GETC: {
383383
uvm32_arg_setval(vmst, &evt, RET, 0xFFFFFFFF);

0 commit comments

Comments
 (0)