aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include/regionstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/include/regionstr.h')
-rw-r--r--xorg-server/include/regionstr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/include/regionstr.h b/xorg-server/include/regionstr.h
index 4a0725d62..515e93ffa 100644
--- a/xorg-server/include/regionstr.h
+++ b/xorg-server/include/regionstr.h
@@ -125,7 +125,7 @@ RegionEnd(RegionPtr reg)
}
static inline size_t
-RegionSizeof(int n)
+RegionSizeof(size_t n)
{
return (sizeof(RegDataRec) + ((n) * sizeof(BoxRec)));
}