diff options
author | robertphillips <robertphillips@google.com> | 2015-01-05 12:29:15 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-05 12:29:15 -0800 |
commit | 9790a7b36b7704f6f490368778bff16302bb7cb6 (patch) | |
tree | 7eef2dec67cd124418574eacea34cfc0dfa13bc7 /expectations/gm/Test-Win7-ShuttleA-HD2000-x86-Release/expected-results.json | |
parent | 2b6ab61e2229bd76291b3d16ad7e386b3075eddb (diff) |
Cap id size returned by GrScratchKey::GenerateResourceType
kkinnunen@ has been seeing compiler warnings on GrScratchKey::GenerateResourceType (https://codereview.chromium.org/833913002/ - Cast the scratch resource key in order to fix a warning)(presumably due to the unsigned/signed comparison in kInvalidResourceType == type). This CL limits the returned id to its effective range to, hopefully, clarify the whole int32_t -> uint32_t conversion & wrapping problem.
Review URL: https://codereview.chromium.org/827923006
Diffstat (limited to 'expectations/gm/Test-Win7-ShuttleA-HD2000-x86-Release/expected-results.json')
0 files changed, 0 insertions, 0 deletions