summaryrefslogtreecommitdiff
path: root/src/radeon_textured_video.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2010-06-14 08:52:16 +0200
committerMichel Dänzer <michel@daenzer.net>2010-06-21 08:18:15 +0200
commitf7a91ece264af9f3fd2fc18e99aefcda93ce9f5c (patch)
treedd5748ed2b94a860be6e66070e2c025cc9febad0 /src/radeon_textured_video.c
parentea37d24b1b6d4cbcf73e680846de25b72af216e3 (diff)
Convert x(c)alloc/xfree to m/calloc/free.
Fixes deprecation warnings with xserver master and should also work with older xservers.
Diffstat (limited to 'src/radeon_textured_video.c')
-rw-r--r--src/radeon_textured_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c
index 5c52a5fd..c19066b6 100644
--- a/src/radeon_textured_video.c
+++ b/src/radeon_textured_video.c
@@ -769,8 +769,8 @@ RADEONSetupImageTexturedVideo(ScreenPtr pScreen)
int i;
int num_texture_ports = 16;
- adapt = xcalloc(1, sizeof(XF86VideoAdaptorRec) + num_texture_ports *
- (sizeof(RADEONPortPrivRec) + sizeof(DevUnion)));
+ adapt = calloc(1, sizeof(XF86VideoAdaptorRec) + num_texture_ports *
+ (sizeof(RADEONPortPrivRec) + sizeof(DevUnion)));
if (adapt == NULL)
return NULL;