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

Issue 609563002: Address MSVS 2013 warning C4146: unary minus operator applied to unsigned type, result still unsign… (Closed)

Created:
6 years, 2 months ago by rmacnak
Modified:
6 years, 2 months ago
Reviewers:
koda
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Address MSVS 2013 warning C4146: unary minus operator applied to unsigned type, result still unsigned R=koda@google.com Committed: https://code.google.com/p/dart/source/detail?r=40697

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M runtime/vm/object_set.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
rmacnak
6 years, 2 months ago (2014-09-25 21:23:33 UTC) #2
koda
https://codereview.chromium.org/609563002/diff/1/runtime/vm/object_set.h File runtime/vm/object_set.h (right): https://codereview.chromium.org/609563002/diff/1/runtime/vm/object_set.h#newcode34 runtime/vm/object_set.h:34: data_ = &allocation_[0 - ((start >> kWordSizeLog2) / kBitsPerWord)]; ...
6 years, 2 months ago (2014-09-25 21:31:28 UTC) #3
rmacnak
On 2014/09/25 21:31:28, koda wrote: > https://codereview.chromium.org/609563002/diff/1/runtime/vm/object_set.h > File runtime/vm/object_set.h (right): > > https://codereview.chromium.org/609563002/diff/1/runtime/vm/object_set.h#newcode34 > ...
6 years, 2 months ago (2014-09-25 22:06:22 UTC) #4
koda
LGTM if you use it below. The name is better than no name :) https://codereview.chromium.org/609563002/diff/20001/runtime/vm/object_set.h ...
6 years, 2 months ago (2014-09-25 22:08:23 UTC) #5
rmacnak
https://codereview.chromium.org/609563002/diff/20001/runtime/vm/object_set.h File runtime/vm/object_set.h (right): https://codereview.chromium.org/609563002/diff/20001/runtime/vm/object_set.h#newcode36 runtime/vm/object_set.h:36: ASSERT(allocation_ == &data_[(start >> kWordSizeLog2) / kBitsPerWord]); On 2014/09/25 ...
6 years, 2 months ago (2014-09-25 22:15:23 UTC) #6
rmacnak
6 years, 2 months ago (2014-09-25 22:15:51 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 40697 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698