Skip to content

Commit

Permalink
Fix printf format (used d instead of u by accident)
Browse files Browse the repository at this point in the history
  • Loading branch information
dargueta committed Dec 12, 2024
1 parent 71562af commit efed02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csrc/engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ int ul_emu_start(lua_State *L)
uc_err error = uc_emu_start(engine, start, stop, timeout, n_instructions);
ulinternal_crash_if_failed(L, error,
"Failed to start emulator with start=0x%08" PRIX64 ", end="
"0x%08" PRIX64 ", timeout=%" PRId64 "us (0 = infinity),"
"0x%08" PRIX64 ", timeout=%" PRIu64 "us (0 = infinity),"
" max instructions=%zu (0 = infinity)",
start, stop, timeout, n_instructions);
return 0;
Expand Down

0 comments on commit efed02c

Please sign in to comment.