summaryrefslogtreecommitdiff
path: root/src/Depths.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-03-07 23:46:05 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-05-09 18:59:54 -0700
commitd38527e25f8b6e2f1174ecc21260c5c5416f972e (patch)
treedd6c58026d39d45e29de6171e8364873ecbf961b /src/Depths.c
parentb2c86b582c58f50c7b14da01cf7ebd20ef12a6b2 (diff)
downloadxorg-lib-libX11-d38527e25f8b6e2f1174ecc21260c5c5416f972e.tar.gz
Remove more unnecessary casts from Xmalloc/calloc calls
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/Depths.c')
-rw-r--r--src/Depths.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Depths.c b/src/Depths.c
index f49655cb..a8b719d0 100644
--- a/src/Depths.c
+++ b/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;