Maintenenace: fix several compiler warnings in C code
[profile/ivi/layer-management.git] / LayerManagerPlugins / Renderers / Graphic / src / TextureBinders / X11CopyGLX.cpp
index 0ce9095..e176fc6 100644 (file)
@@ -65,7 +65,7 @@ bool X11CopyGLX::bindSurfaceTexture(Surface* surface)
                     int count = surface->OriginalSourceWidth*surface->OriginalSourceHeight;
                     for (int j=0;j<count; j++)
                     {
-                        xim->data[j*4+3]=255;
+                        xim->data[j*4+3] = (char)255;
                     }
                 }
             } else {