commit | dcf44780a37e609b1d109f0db8c10840230f7446 | [log] [tgz] |
---|---|---|
author | Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> | Tue May 15 16:48:16 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 15 16:48:16 2018 |
tree | 42b0c6f62114d3a85e32bdf52ac8b7c78fb35a98 | |
parent | 0d5d2e610b98b00b250189496aa355adb67fc9c2 [diff] |
sandbox: Explicitly define BrokerSimpleMessage::EntryType's integer type This fixes the build with GCC after a722110a ("Fix non-signal-safe calls in BrokerClient"). GCC seems to use a different underlying integer type than clang and fails with the following message: In file included from ../../sandbox/linux/syscall_broker/broker_simple_message.cc:5: ../../sandbox/linux/syscall_broker/broker_simple_message.h:80:33: error: enumerator value ‘3183328640’ is outside the range of underlying type ‘int’ enum class EntryType { DATA = 0xBDBDBD80, INT = 0xBDBDBD81 }; ^~~~~~~~~~ ../../sandbox/linux/syscall_broker/broker_simple_message.h:80:51: error: enumerator value ‘3183328641’ is outside the range of underlying type ‘int’ enum class EntryType { DATA = 0xBDBDBD80, INT = 0xBDBDBD81 }; ^~~~~~~~~~ Bug: 255063, 819294 Change-Id: I21dc7471ea6b5a28a54f7ecfad32f84d62ed16a7 Reviewed-on: https://chromium-review.googlesource.com/1059778 Reviewed-by: Greg Kerr <kerrnel@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Cr-Commit-Position: refs/heads/master@{#558751}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .