mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 509188 - Fix OS/2-only build break in nsCanvasRenderingContext2D.cpp, r=bzbarsky
This commit is contained in:
parent
f1ff7ed601
commit
2a9b37074c
@ -3529,7 +3529,7 @@ js_CoerceArrayToCanvasImageData(JSObject *obj, jsuint offset, jsuint count,
|
||||
JSUint8 *dest);
|
||||
}
|
||||
|
||||
static inline PRUint8 ToUint8(PRInt32 aInput)
|
||||
static inline PRUint8 ToUint8(jsint aInput)
|
||||
{
|
||||
if (PRUint32(aInput) > 255)
|
||||
return (aInput < 0) ? 0 : 255;
|
||||
|
Loading…
Reference in New Issue
Block a user