]> OCCT Git - occt-copy.git/commitdiff
0024736: There is new additional compilation warning on Linux platform
authorkgv <kgv@opencascade.com>
Wed, 19 Mar 2014 08:32:39 +0000 (12:32 +0400)
committerabv <abv@opencascade.com>
Thu, 10 Apr 2014 11:15:42 +0000 (15:15 +0400)
src/QABugs/QABugs_19.cxx

index fae5f135ad57c9650613b1e1723e5423fbaea1f2..0320978993ffc47f77b64449030fe1e1e6fb23ad 100644 (file)
@@ -1585,9 +1585,10 @@ static Standard_Integer OCC24622 (Draw_Interpretor& /*theDi*/, Standard_Integer
 
   Handle(Image_PixMap) anImage = new Image_PixMap();
 
-  static const Image_ColorRGB aBitmap[8] = {
-    {255, 0, 0},  {0, 148, 255}, {0, 148, 255}, {255, 94, 0},
-    {255, 121, 0}, {76, 255, 0},  {76, 255, 0}, {255, 202, 0}
+  static const Image_ColorRGB aBitmap[8] =
+  {
+    {{255,   0, 0}}, {{0,  148, 255}}, {{ 0, 148, 255}}, {{255,  94, 0}},
+    {{255, 121, 0}}, {{76, 255,   0}}, {{76, 255,   0}}, {{255, 202, 0}}
   };
 
   TCollection_AsciiString aTextureTypeArg (theArgVec[1]);