Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(142)

Issue 452004: Make my_int_len/my_itos take uintmax_t instead of intmax_t (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by Ted Mielczarek
Modified:
12 years, 2 months ago
Reviewers:
digit
CC:
google-breakpad-dev_googlegroups.com
Visibility:
Public.

Description

We changed these functions from int to intmax_t a while ago, but it turns out we
pass a size_t to this in the Mozilla codebase. The functions don't handle
negative integers anyway, so we might as well use uintmax_t.

Patch Set 1 #

Total comments: 4

Patch Set 2 : Renamed functions #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/linux/minidump_writer/linux_ptrace_dumper.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/common/linux/linux_libc_support.cc View 1 1 chunk +7 lines, -8 lines 0 comments Download
M src/common/linux/linux_libc_support.h View 1 1 chunk +6 lines, -7 lines 0 comments Download
M src/common/linux/linux_libc_support_unittest.cc View 1 1 chunk +23 lines, -17 lines 0 comments Download

Messages

Total messages: 5
Ted Mielczarek
12 years, 2 months ago #1
digit
http://breakpad.appspot.com/452004/diff/1/src/common/linux/linux_libc_support.h File src/common/linux/linux_libc_support.h (right): http://breakpad.appspot.com/452004/diff/1/src/common/linux/linux_libc_support.h#newcode57 src/common/linux/linux_libc_support.h:57: extern unsigned my_int_len(uintmax_t i); Wouldn't it make sense to ...
12 years, 2 months ago #2
Ted Mielczarek
http://breakpad.appspot.com/452004/diff/1/src/common/linux/linux_libc_support.h File src/common/linux/linux_libc_support.h (right): http://breakpad.appspot.com/452004/diff/1/src/common/linux/linux_libc_support.h#newcode57 src/common/linux/linux_libc_support.h:57: extern unsigned my_int_len(uintmax_t i); On 2012/09/14 11:46:04, digit wrote: ...
12 years, 2 months ago #3
Ted Mielczarek
12 years, 2 months ago #4
digit
12 years, 2 months ago #5
lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted