diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-09-13 16:31:40 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-09-13 16:31:40 -0700 |
commit | fe87eb4099416be52b0fc9a0a1e8a52b65dfa23c (patch) | |
tree | a285fd4042dd541ee6148cd3f0cdc893b946bd17 | |
parent | 7185a8a484de41c878149e23848c903893936e14 (diff) | |
download | xorg-lib-libXmu-fe87eb4099416be52b0fc9a0a1e8a52b65dfa23c.tar.gz |
Handle -Wmissing-field-initializers warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | src/StrToCurs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/StrToCurs.c b/src/StrToCurs.c index fc064c6..60fbab2 100644 --- a/src/StrToCurs.c +++ b/src/StrToCurs.c @@ -133,8 +133,8 @@ XmuCvtStringToCursor(XrmValuePtr args, Cardinal *num_args, char maskname[PATH_MAX]; Pixmap source, mask = 0; /* XXX - make fg/bg resources */ - static XColor bgColor = {0, 0xffff, 0xffff, 0xffff}; - static XColor fgColor = {0, 0, 0, 0}; + static XColor bgColor = {0, 0xffff, 0xffff, 0xffff, 0, 0}; + static XColor fgColor = {0, 0, 0, 0, 0, 0}; int xhot, yhot; int len; |