Merge pull request #84 from leoetlino/printf-format

ldr: Fix printf format string for size_t
This commit is contained in:
hexkyz 2018-05-09 22:49:01 +01:00 committed by GitHub
commit 3273cc5357
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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) {
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)};
}

View File

@ -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) {
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)};
}