Skip to content

Commit

Permalink
Silence -Wshorten-64-to-32 warning
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45403 379a1393-f5fb-40a0-bcee-ef074d9b53f7
  • Loading branch information
Compyx committed Dec 18, 2024
1 parent 4c2fae1 commit aaa1e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vice/src/userport/userport_wic64.c
Original file line number Diff line number Diff line change
Expand Up @@ -2231,7 +2231,7 @@ static void do_command(void)
break;
case WIC64_CMD_REBOOT:
debug_log(CONS_COL_NO, 3, "%s: arming for reboot", __FUNCTION__);
wic64_sleep_cycles(3 * machine_get_cycles_per_second(), userport_wic64_reset); /* emulated a 3s reboot */
wic64_sleep_cycles(3 * (int)machine_get_cycles_per_second(), userport_wic64_reset); /* emulated a 3s reboot */
break;
case WIC64_CMD_SET_TRANSFER_TIMEOUT:
case WIC64_CMD_SET_REMOTE_TIMEOUT:
Expand Down

0 comments on commit aaa1e01

Please sign in to comment.