aboutsummaryrefslogtreecommitdiff
path: root/libXmu/src/WidgetNode.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXmu/src/WidgetNode.c')
-rw-r--r--libXmu/src/WidgetNode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libXmu/src/WidgetNode.c b/libXmu/src/WidgetNode.c
index db295bf15..037eb0cdf 100644
--- a/libXmu/src/WidgetNode.c
+++ b/libXmu/src/WidgetNode.c
@@ -86,8 +86,8 @@ static int
compare_resource_entries(register _Xconst void *a,
register _Xconst void *b)
{
- return strcmp (((XtResourceList)a)->resource_name,
- ((XtResourceList)b)->resource_name);
+ return strcmp (((_Xconst XtResource *)a)->resource_name,
+ ((_Xconst XtResource *)b)->resource_name);
}