aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/Depths.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/Depths.c')
-rw-r--r--nx-X11/lib/X11/Depths.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/Depths.c b/nx-X11/lib/X11/Depths.c
index f49655cb2..a8b719d00 100644
--- a/nx-X11/lib/X11/Depths.c
+++ b/nx-X11/lib/X11/Depths.c
@@ -49,7 +49,7 @@ int *XListDepths (
register Depth *dp;
register int i;
- depths = (int *) Xmalloc (count * sizeof(int));
+ depths = Xmalloc (count * sizeof(int));
if (!depths) return NULL;
for (i = 0, dp = scr->depths; i < count; i++, dp++)
depths[i] = dp->depth;