MSVC and gcc are wrong, Clang was right, apparently
The 'unsigned int(expression)' syntax is *not* correct, says http://en.cppreference.com/w/cpp/language/explicit_cast, but apparently MSVC and gcc don't mind. Clang doesn't like it, though. Re-introduce kendy's change but use static_cast instead of functional cast. This reverts commit 33d2475d Change-Id: I799cce13e9bebf1a375243c294c4fa8788502ec6
Showing
Please
register
or
sign in
to comment