Closed
Bug 1409619
Opened 8 years ago
Closed 8 years ago
Signed/Unsigned warnings in TSFTextStore
Categories
(Core :: Widget: Win32, defect)
Core
Widget: Win32
Tracking
()
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: tjr, Assigned: tjr)
References
Details
Attachments
(1 file)
> In file included from /builds/worker/workspace/build/src/widget/windows/TSFTextStore.cpp:8:0:
> /builds/worker/workspace/build/src/widget/windows/TSFTextStore.h: In member function 'bool mozilla::widget::TSFTextStore::WasTextInsertedWithoutCompositionAt(ULONG, ULONG) const':
> /builds/worker/workspace/build/src/widget/windows/TSFTextStore.h:716:49: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
> pendingPreLastAction.mSelectionStart == aStart;
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
> /builds/worker/workspace/build/src/widget/windows/TSFTextStore.cpp: In member function 'virtual HRESULT mozilla::widget::TSFTextStore::GetACPFromPoint(TsViewCookie, const POINT*, DWORD, LONG*)':
> /builds/worker/workspace/build/src/widget/windows/TSFTextStore.cpp:4117:0: note: -Wmisleading-indentation is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
> if (NS_WARN_IF(offset > LONG_MAX)) {
> /builds/worker/workspace/build/src/widget/windows/TSFTextStore.cpp: In member function 'HRESULT mozilla::widget::TSFTextStore::RecordCompositionStartAction(ITfCompositionView*, ULONG, ULONG, bool)':
> /builds/worker/workspace/build/src/widget/windows/TSFTextStore.cpp:4830:0: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
> } else if (selectionForTSF.MinOffset() != aStart ||
> /builds/worker/workspace/build/src/widget/windows/TSFTextStore.cpp:4831:0: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
> selectionForTSF.MaxOffset() != aStart + aLength) {
> cc1plus: all warnings being treated as errors
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 3•8 years ago
|
||
![]() |
||
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8919590 [details]
Bug 1409619 Resolve signed/unsigned comparison warning by fixing function definitions to be signed in widget/windows/TSFTextStore
https://reviewboard.mozilla.org/r/190452/#review196048
Attachment #8919590 -
Flags: review?(jmathies) → review+
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/77edd9d74149
Resolve signed/unsigned comparison warning by fixing function definitions to be signed in widget/windows/TSFTextStore r=jimm
Keywords: checkin-needed
![]() |
||
Comment 6•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in
before you can comment on or make changes to this bug.
Description
•