aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/FetchName.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/FetchName.c')
-rw-r--r--nx-X11/lib/X11/FetchName.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/lib/X11/FetchName.c b/nx-X11/lib/X11/FetchName.c
index 7503482fa..060c4b183 100644
--- a/nx-X11/lib/X11/FetchName.c
+++ b/nx-X11/lib/X11/FetchName.c
@@ -58,7 +58,7 @@ Status XFetchName (
*name = (char *)data;
return(1);
}
- if (data) Xfree ((char *)data);
+ if (data) Xfree (data);
*name = NULL;
return(0);
}
@@ -89,7 +89,7 @@ Status XGetIconName (
*icon_name = (char*)data;
return(1);
}
- if (data) Xfree ((char *)data);
+ if (data) Xfree (data);
*icon_name = NULL;
return(0);
}