summaryrefslogtreecommitdiff
path: root/xmessage.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-22 16:05:29 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-22 16:05:29 -0200
commitf4f59348603fffd2fd3249f272eeeaa72f819b9a (patch)
tree7a7e0291a279db000b376c17c4ede4919aaaecaa /xmessage.c
parent17bb13a8280da865ecc1be940a8313e65c178a35 (diff)
Correct make distcheck and sparse warnings.
Diffstat (limited to 'xmessage.c')
-rw-r--r--xmessage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmessage.c b/xmessage.c
index a3e0152..6f31007 100644
--- a/xmessage.c
+++ b/xmessage.c
@@ -72,11 +72,11 @@ static XtResource resources[] = {
{ "nearMouse", "NearMouse", XtRBoolean, sizeof (Boolean),
offset(nearmouse), XtRString, "false" },
{ "timeout", "Timeout", XtRInt, sizeof (int),
- offset(timeout_secs), XtRInt, 0 },
+ offset(timeout_secs), XtRInt, NULL },
{ "maxHeight", "Maximum", XtRDimension, sizeof (Dimension),
- offset(maxHeight), XtRDimension, 0 },
+ offset(maxHeight), XtRDimension, NULL },
{ "maxWidth", "Maximum", XtRDimension, sizeof (Dimension),
- offset(maxWidth), XtRDimension, 0 },
+ offset(maxWidth), XtRDimension, NULL },
};
#undef offset