diff --git a/randr/rrproperty.c b/randr/rrproperty.c index 25469f57b..c4fef8a1f 100644 --- a/randr/rrproperty.c +++ b/randr/rrproperty.c @@ -530,7 +530,7 @@ ProcRRChangeOutputProperty(ClientPtr client) char format, mode; unsigned long len; int sizeInBytes; - int totalSize; + uint64_t totalSize; int err; REQUEST_AT_LEAST_SIZE(xRRChangeOutputPropertyReq); diff --git a/randr/rrproviderproperty.c b/randr/rrproviderproperty.c index b79c17f9b..90c5a9a93 100644 --- a/randr/rrproviderproperty.c +++ b/randr/rrproviderproperty.c @@ -498,7 +498,7 @@ ProcRRChangeProviderProperty(ClientPtr client) char format, mode; unsigned long len; int sizeInBytes; - int totalSize; + uint64_t totalSize; int err; REQUEST_AT_LEAST_SIZE(xRRChangeProviderPropertyReq);