Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libgtk2ui: cast gdk_color components to fix compilation under gcc 4.7.2
I was getting this error before this patch: error: narrowing conversion of ‘(((color >> 16) & 255u) * 257u)’ from ‘SkColor {aka unsigned int}’ to ‘guint16 {aka short unsigned int}’ inside { } is ill-formed in C++11 [-Werror=narrowing] BUG=130810 Review URL: https://chromiumcodereview.appspot.com/12684005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188351 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information