mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 577224 nsCARenderer::DrawSurfaceToCGContext comparison between signed and unsigned integer expressions
r=BenWa
This commit is contained in:
parent
ebf928ae13
commit
5a34e2465c
@ -72,7 +72,7 @@ public:
|
||||
nsIOSurface *surf,
|
||||
CGColorSpaceRef aColorSpace,
|
||||
int aX, int aY,
|
||||
int aWidth, int aHeight);
|
||||
uint32_t aWidth, uint32_t aHeight);
|
||||
private:
|
||||
void Destroy();
|
||||
|
||||
|
@ -676,7 +676,7 @@ nsresult nsCARenderer::DrawSurfaceToCGContext(CGContextRef aContext,
|
||||
nsIOSurface *surf,
|
||||
CGColorSpaceRef aColorSpace,
|
||||
int aX, int aY,
|
||||
int aWidth, int aHeight) {
|
||||
uint32_t aWidth, uint32_t aHeight) {
|
||||
surf->Lock();
|
||||
size_t bytesPerRow = surf->GetBytesPerRow();
|
||||
size_t ioWidth = surf->GetWidth();
|
||||
|
Loading…
Reference in New Issue
Block a user