mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00

Although char is usually unsigned, somehow the conversion between float to char may be clamping, as noted in bug 1787085. We want to explicitly use unsigned char here, which is the right thing to do. Differential Revision: https://phabricator.services.mozilla.com/D202472