aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/Depths.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/Depths.c')
-rw-r--r--libX11/src/Depths.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/Depths.c b/libX11/src/Depths.c
index f49655cb2..a8b719d00 100644
--- a/libX11/src/Depths.c
+++ b/libX11/src/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;