mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-05 19:51:45 +00:00
ldr: Fix printf format string for size_t
%z should be used for size_t, otherwise the wrong value may be printed. Fixes two -Wformat warnings.
This commit is contained in:
parent
2c07b5a2fb
commit
bd42514af0
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ Result DebugMonitorService::dispatch(IpcParsedCommand &r, IpcCommand &out_c, u64
|
||||||
}
|
}
|
||||||
|
|
||||||
std::tuple<Result> DebugMonitorService::add_title_to_launch_queue(u64 tid, InPointer<char> args) {
|
std::tuple<Result> DebugMonitorService::add_title_to_launch_queue(u64 tid, InPointer<char> args) {
|
||||||
fprintf(stderr, "Add to launch queue: %p, %X\n", args.pointer, args.num_elements);
|
fprintf(stderr, "Add to launch queue: %p, %zX\n", args.pointer, args.num_elements);
|
||||||
return {LaunchQueue::add(tid, args.pointer, args.num_elements)};
|
return {LaunchQueue::add(tid, args.pointer, args.num_elements)};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ Result ShellService::dispatch(IpcParsedCommand &r, IpcCommand &out_c, u64 cmd_id
|
||||||
}
|
}
|
||||||
|
|
||||||
std::tuple<Result> ShellService::add_title_to_launch_queue(u64 tid, InPointer<char> args) {
|
std::tuple<Result> ShellService::add_title_to_launch_queue(u64 tid, InPointer<char> args) {
|
||||||
fprintf(stderr, "Add to launch queue: %p, %X\n", args.pointer, args.num_elements);
|
fprintf(stderr, "Add to launch queue: %p, %zX\n", args.pointer, args.num_elements);
|
||||||
return {LaunchQueue::add(tid, args.pointer, args.num_elements)};
|
return {LaunchQueue::add(tid, args.pointer, args.num_elements)};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue