summaryrefslogtreecommitdiff
path: root/src/gx_randr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gx_randr.c')
-rw-r--r--src/gx_randr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gx_randr.c b/src/gx_randr.c
index 345eaa5..116678d 100644
--- a/src/gx_randr.c
+++ b/src/gx_randr.c
@@ -351,7 +351,7 @@ GXRandRInit(ScreenPtr pScreen, int rotation)
return FALSE;
#endif
- pRandr = calloc(sizeof(XF86RandRInfoRec), 1);
+ pRandr = calloc(1, sizeof(XF86RandRInfoRec));
if (pRandr == NULL)
return FALSE;