aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/SetGetCols.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/SetGetCols.c')
-rw-r--r--nx-X11/lib/X11/SetGetCols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/SetGetCols.c b/nx-X11/lib/X11/SetGetCols.c
index 9b548dbb2..fc3708585 100644
--- a/nx-X11/lib/X11/SetGetCols.c
+++ b/nx-X11/lib/X11/SetGetCols.c
@@ -237,7 +237,7 @@ _XcmsSetGetColors(
/*
* Allocate space for XColors
*/
- if ((pXColors_in_out = (XColor *)Xcalloc(nColors, sizeof(XColor))) ==
+ if ((pXColors_in_out = Xcalloc(nColors, sizeof(XColor))) ==
NULL) {
return(XcmsFailure);
}