Skip to content
This repository
Browse code

[gles] fix compiler warning

  • Loading branch information...
commit 5dc103016f8576f7c856937b08f0153847f62517 1 parent ff3cc00
authored February 27, 2013
2  xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp
@@ -1352,7 +1352,7 @@ bool CLinuxRendererGLES::RenderCapture(CRenderCapture* capture)
1352 1352
   // OpenGLES returns in RGBA order but CRenderCapture needs BGRA order
1353 1353
   // XOR Swap RGBA -> BGRA
1354 1354
   unsigned char* pixels = (unsigned char*)capture->GetRenderBuffer();
1355  
-  for (int i = 0; i < capture->GetWidth() * capture->GetHeight(); i++, pixels+=4)
  1355
+  for (unsigned int i = 0; i < capture->GetWidth() * capture->GetHeight(); i++, pixels+=4)
1356 1356
   {
1357 1357
     std::swap(pixels[0], pixels[2]);
1358 1358
   }

0 notes on commit 5dc1030

Please sign in to comment.
Something went wrong with that request. Please try again.