Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Issue 1302843004: Use -[NSNumber numberWithDouble:] for doubles (Closed)

Created:
5 years, 4 months ago by Mark Mentovai
Modified:
5 years, 4 months ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Use -[NSNumber numberWithDouble:] for doubles Found by -fsanitize=undefined: [ RUN ] Launchd.CFPropertyToLaunchData_FloatingPoint ../../../util/mac/launchd_test.mm:82:33: runtime error: value 1.79769e+308 is outside the range of representable values of type 'float' [ OK ] Launchd.CFPropertyToLaunchData_FloatingPoint (2 ms) TEST=crashpad_util_test Launchd.CFPropertyToLaunchData_FloatingPoint BUG= R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/5064aeb78477889bebf29b5ef630201b60a84b3e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M util/mac/launchd_test.mm View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
Mark Mentovai
5 years, 4 months ago (2015-08-20 03:47:58 UTC) #2
Robert Sesek
LGTM
5 years, 4 months ago (2015-08-20 04:54:07 UTC) #3
Mark Mentovai
5 years, 4 months ago (2015-08-20 13:29:29 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
5064aeb78477889bebf29b5ef630201b60a84b3e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698