Fix the format warnings.
In almost all cases, the misuse is about "%lu" being used instead of the correct "%zu" (even though these are compatible on 64-bit platforms in practice). There are even a couple of cases where "%ld" (ie., signed int) is used instead of "%zu", and one where "%lu" is used instead of "%" PRIu64. Fixes bug #17551. Patch by "/dev/humancontroller" llvm-svn: 193832
This commit is contained in:
@@ -337,7 +337,7 @@ SBProcess::PutSTDIN (const char *src, size_t src_len)
|
||||
}
|
||||
|
||||
if (log)
|
||||
log->Printf ("SBProcess(%p)::PutSTDIN (src=\"%s\", src_len=%d) => %lu",
|
||||
log->Printf ("SBProcess(%p)::PutSTDIN (src=\"%s\", src_len=%d) => %zu",
|
||||
process_sp.get(),
|
||||
src,
|
||||
(uint32_t) src_len,
|
||||
|
||||
Reference in New Issue
Block a user