summaryrefslogtreecommitdiff
path: root/src/GetResList.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/GetResList.c')
-rw-r--r--src/GetResList.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/GetResList.c b/src/GetResList.c
index e0ea277..f649de5 100644
--- a/src/GetResList.c
+++ b/src/GetResList.c
@@ -82,8 +82,8 @@ in this Software without prior written authorization from The Open Group.
void
XtGetResourceList(WidgetClass widget_class,
- XtResourceList * resources,
- Cardinal * num_resources)
+ XtResourceList *resources,
+ Cardinal *num_resources)
{
int size;
register Cardinal i, dest = 0;
@@ -119,7 +119,7 @@ XtGetResourceList(WidgetClass widget_class,
dlist[dest].resource_size = list[i]->resource_size;
/* trust that resource_offset isn't that big */
dlist[dest].resource_offset = (Cardinal)
- - ((int) (list[i]->resource_offset + 1));
+ -((int) (list[i]->resource_offset + 1));
dlist[dest].default_type = (String)
XrmQuarkToString(TOXRMQUARK(list[i]->default_type));
dlist[dest].default_addr = list[i]->default_addr;
@@ -142,8 +142,8 @@ ClassIsSubclassOf(WidgetClass class, WidgetClass superclass)
void
XtGetConstraintResourceList(WidgetClass widget_class,
- XtResourceList * resources,
- Cardinal * num_resources)
+ XtResourceList *resources,
+ Cardinal *num_resources)
{
int size;
register Cardinal i, dest = 0;
@@ -192,7 +192,7 @@ XtGetConstraintResourceList(WidgetClass widget_class,
dlist[dest].resource_size = list[i]->resource_size;
/* trust that resource_offset isn't that big */
dlist[dest].resource_offset = (Cardinal)
- - ((int) (list[i]->resource_offset + 1));
+ -((int) (list[i]->resource_offset + 1));
dlist[dest].default_type = (String)
XrmQuarkToString(TOXRMQUARK(list[i]->default_type));
dlist[dest].default_addr = list[i]->default_addr;