summaryrefslogtreecommitdiff
path: root/lib/libXrandr/src/XrrConfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXrandr/src/XrrConfig.c')
-rw-r--r--lib/libXrandr/src/XrrConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libXrandr/src/XrrConfig.c b/lib/libXrandr/src/XrrConfig.c
index 778422747..db7a1aeb0 100644
--- a/lib/libXrandr/src/XrrConfig.c
+++ b/lib/libXrandr/src/XrrConfig.c
@@ -69,7 +69,7 @@ short *XRRConfigRates (XRRScreenConfiguration *config, int sizeID, int *nrates)
if (!nents)
{
*nrates = 0;
- return 0;
+ return NULL;
}
*nrates = (int) *r;
return r + 1;