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

Issue 836413004: win: avoid warning in StringFileWriter.SeekInvalid test (Closed)

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

Description

win: avoid warning in StringFileWriter.SeekInvalid test d:\src\crashpad\crashpad\util\file\string_file_writer_test.cc(367) : warning C4244: 'initializing' : conversion from 'const uint64_t' to 'const off_t', possible loss of data R=mark@chromium.org BUG=crashpad:1 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/4ec54051357f33ef3e1c718a3a17a9237ef575de

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M util/file/string_file_writer_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
scottmg
5 years, 11 months ago (2015-01-07 22:32:30 UTC) #1
Mark Mentovai
LGTM. It’s pretty sad that this is what it takes to safely mix distinct data ...
5 years, 11 months ago (2015-01-07 22:35:49 UTC) #2
Mark Mentovai
(not so much the new static_cast, but the existing min and implicit_casts too.)
5 years, 11 months ago (2015-01-07 22:36:08 UTC) #3
scottmg
5 years, 11 months ago (2015-01-07 22:42:59 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
4ec54051357f33ef3e1c718a3a17a9237ef575de (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698