randr: Fix a compiler warning on 32-bit.

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Eric Anholt 2018-05-07 16:46:16 -07:00 committed by Adam Jackson
parent e1ccd0fa0e
commit 4ec02b573e
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ RRInitPrimeSyncProps(ScreenPtr pScreen)
Atom syncProp = MakeAtom(syncStr, strlen(syncStr), TRUE);
int defaultVal = TRUE;
int validVals[2] = {FALSE, TRUE};
INT32 validVals[2] = {FALSE, TRUE};
int i;
for (i = 0; i < pScrPriv->numOutputs; i++) {