summaryrefslogtreecommitdiff
path: root/xts5/Xlib7
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2010-04-18 16:49:28 -0700
committerAaron Plattner <aplattner@nvidia.com>2010-04-20 09:55:55 -0700
commitc4049fde7c2074085a6079b780cb48bdc3a58bc4 (patch)
tree8ef1a1a72ae63c4a6e0f34477799c24a5643b675 /xts5/Xlib7
parent4d95ca878726433febebb741de1fa2b69e9363f0 (diff)
xts5: Fix "missing braces around initializer" warnings.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'xts5/Xlib7')
-rw-r--r--xts5/Xlib7/XStoreColor.m30
-rw-r--r--xts5/Xlib7/XStoreColors.m30
2 files changed, 30 insertions, 30 deletions
diff --git a/xts5/Xlib7/XStoreColor.m b/xts5/Xlib7/XStoreColor.m
index ce211902..35109f37 100644
--- a/xts5/Xlib7/XStoreColor.m
+++ b/xts5/Xlib7/XStoreColor.m
@@ -534,21 +534,21 @@ XColor *refp;
unsigned long *reds, *greens, *blues;
int pathcnt = 0;
static XColor triples[] = {
- (unsigned long)~0L, 0,0,0, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 1,0,0, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 0,1,0, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 0,0,1, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 3,2,1, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 1,3,0, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 7,3,1, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 7,8,5, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 15,11,12, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 42,99,13, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 112,127,64, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 255,64,33, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 64,255,33, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 64,33,255, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 255,255,255, DoRed|DoGreen|DoBlue, 0
+ { ~0UL, 0,0,0, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 1,0,0, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 0,1,0, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 0,0,1, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 3,2,1, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 1,3,0, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 7,3,1, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 7,8,5, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 15,11,12, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 42,99,13, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 112,127,64, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 255,64,33, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 64,255,33, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 64,33,255, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 255,255,255, DoRed|DoGreen|DoBlue, 0 },
};
/* If visual class DirectColor is supported: */
diff --git a/xts5/Xlib7/XStoreColors.m b/xts5/Xlib7/XStoreColors.m
index c7420905..729e7a43 100644
--- a/xts5/Xlib7/XStoreColors.m
+++ b/xts5/Xlib7/XStoreColors.m
@@ -714,21 +714,21 @@ XColor *refp;
unsigned long *reds, *greens, *blues;
int pathcnt = 0;
static XColor triples[] = {
- (unsigned long)~0L, 0,0,0, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 1,0,0, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 0,1,0, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 0,0,1, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 3,2,1, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 1,3,0, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 7,3,1, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 7,8,5, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 15,11,12, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 42,99,13, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 112,127,64, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 255,64,33, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 64,255,33, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 64,33,255, DoRed|DoGreen|DoBlue, 0,
- (unsigned long)~0L, 255,255,255, DoRed|DoGreen|DoBlue, 0
+ { ~0UL, 0,0,0, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 1,0,0, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 0,1,0, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 0,0,1, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 3,2,1, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 1,3,0, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 7,3,1, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 7,8,5, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 15,11,12, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 42,99,13, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 112,127,64, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 255,64,33, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 64,255,33, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 64,33,255, DoRed|DoGreen|DoBlue, 0 },
+ { ~0UL, 255,255,255, DoRed|DoGreen|DoBlue, 0 },
};
/* If visual class DirectColor is supported: */