DescriptionFix a warning in 64bit c++11 mode.
The (harmless) warning was:
../../webkit/plugins/ppapi/message_channel.cc:286:69: error: comparison of constant 2305843009213693951 with expression of type 'unsigned int' is always false [-Werror,-Wtautological-constant-out-of-range-compare]
if (std::numeric_limits<size_t>::max() / sizeof(NPIdentifier) <=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
It's always false in 64bit mode, but it's arguably useful in 32bit mode.
BUG=233330
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195026
Patch Set 1 #
Total comments: 2
Patch Set 2 : p(arano)iman #Messages
Total messages: 5 (0 generated)
|