Bug 577224 nsCARenderer::DrawSurfaceToCGContext comparison between signed and unsigned integer expressions

r=BenWa
This commit is contained in:
timeless@mozdev.org 2010-07-07 12:08:22 +03:00
parent ebf928ae13
commit 5a34e2465c
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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();