projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
table: Avoid initializer warnings with GCC 4.9.
[pspp]
/
src
/
output
/
table.h
diff --git
a/src/output/table.h
b/src/output/table.h
index d162a28b4aeb399f7230d8fad121b4207c19499a..40cae3a22cabaf56e6dbcafc3d07dc83e75262d0 100644
(file)
--- a/
src/output/table.h
+++ b/
src/output/table.h
@@
-65,7
+65,7
@@
struct cell_color
uint8_t alpha, r, g, b;
};
-#define CELL_COLOR(r, g, b)
(struct cell_color)
{ 255, r, g, b }
+#define CELL_COLOR(r, g, b) { 255, r, g, b }
#define CELL_COLOR_BLACK CELL_COLOR (0, 0, 0)
#define CELL_COLOR_WHITE CELL_COLOR (255, 255, 255)