diff options
author | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-09-17 14:01:19 +0000 |
---|---|---|
committer | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2012-09-17 14:01:19 +0000 |
commit | a61c7e6927a25e7ce00854b1872561000a6ce8b5 (patch) | |
tree | 63b3f65af93e79a798192a3c867a0c258d062a5b /src/client | |
parent | Allow setting a new MinidumpDescriptor on ExceptionHandler, also expose direc... (diff) | |
download | breakpad-a61c7e6927a25e7ce00854b1872561000a6ce8b5.tar.xz |
Make my_str_len/my_itos take uintmax_t
R=digit at https://breakpad.appspot.com/452004/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1038 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/linux/minidump_writer/linux_ptrace_dumper.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/linux/minidump_writer/linux_ptrace_dumper.cc b/src/client/linux/minidump_writer/linux_ptrace_dumper.cc index 5591067a..3863d79f 100644 --- a/src/client/linux/minidump_writer/linux_ptrace_dumper.cc +++ b/src/client/linux/minidump_writer/linux_ptrace_dumper.cc @@ -112,13 +112,13 @@ bool LinuxPtraceDumper::BuildProcPath(char* path, pid_t pid, if (node_len == 0) return false; - const unsigned pid_len = my_int_len(pid); + const unsigned pid_len = my_uint_len(pid); const size_t total_length = 6 + pid_len + 1 + node_len; if (total_length >= NAME_MAX) return false; my_memcpy(path, "/proc/", 6); - my_itos(path + 6, pid, pid_len); + my_uitos(path + 6, pid, pid_len); path[6 + pid_len] = '/'; my_memcpy(path + 6 + pid_len + 1, node, node_len); path[total_length] = '\0'; |