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

Issue 398203004: Build fix on Linux 64 bits with GCC 4.8. (Closed)

Created:
6 years, 5 months ago by darktears
Modified:
6 years, 5 months ago
Reviewers:
Shu Chen, sadrul, garykac
CC:
chromium-reviews, tdresser+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Build fix on Linux 64 bits with GCC 4.8. error: narrowing conversion of ‘(keysym & 65535ul)’ from ‘KeySym {aka long unsigned int}’ to ‘uint16 {aka short unsigned int}’ inside { } is ill-formed in C++11 error: narrowing conversion of ‘xkey.XKeyEvent::keycode’ from ‘unsigned int’ to ‘uint8 {aka unsigned char}’ Fixed by using the underlaying type instead, KeySym and unsigned. BUG=394636 TEST=Passed try bots. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283930

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -10 lines) Patch
M ui/events/keycodes/keyboard_code_conversion_x.cc View 4 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
darktears
6 years, 5 months ago (2014-07-17 12:12:09 UTC) #1
Shu Chen
lgtm
6 years, 5 months ago (2014-07-17 22:26:19 UTC) #2
sadrul
rslgtm
6 years, 5 months ago (2014-07-17 22:51:39 UTC) #3
Shu Chen
The CQ bit was checked by shuchen@chromium.org
6 years, 5 months ago (2014-07-17 22:57:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexis.menard@intel.com/398203004/1
6 years, 5 months ago (2014-07-17 22:58:45 UTC) #5
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 23:50:39 UTC) #6
Message was sent while issue was closed.
Change committed as 283930

Powered by Google App Engine
This is Rietveld 408576698