diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-03-07 23:46:05 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-05-09 18:59:54 -0700 |
commit | d38527e25f8b6e2f1174ecc21260c5c5416f972e (patch) | |
tree | dd6c58026d39d45e29de6171e8364873ecbf961b /src/Depths.c | |
parent | b2c86b582c58f50c7b14da01cf7ebd20ef12a6b2 (diff) | |
download | xorg-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.c | 2 |
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; |