aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/CCC.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/CCC.c')
-rw-r--r--nx-X11/lib/X11/CCC.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/lib/X11/CCC.c b/nx-X11/lib/X11/CCC.c
index 090b1078c..da8b661dc 100644
--- a/nx-X11/lib/X11/CCC.c
+++ b/nx-X11/lib/X11/CCC.c
@@ -111,7 +111,7 @@ XcmsCreateCCC(
XcmsPerScrnInfo *pNewScrnInfo;
if (pDefaultCCC == NULL ||
- !(newccc = (XcmsCCC) Xcalloc(1, (unsigned) sizeof(XcmsCCCRec)))) {
+ !(newccc = Xcalloc(1, (unsigned) sizeof(XcmsCCCRec)))) {
return(NULL);
}
@@ -144,7 +144,7 @@ XcmsCreateCCC(
* If one exists replace the pPerScrnInfo.
*/
if ((pIMap = _XcmsGetIntensityMap(dpy, visual)) != NULL) {
- if (!(pNewScrnInfo = (XcmsPerScrnInfo *)
+ if (!(pNewScrnInfo =
Xcalloc(1, (unsigned) sizeof(XcmsPerScrnInfo)))) {
Xfree(newccc);
return(NULL);