diff options
Diffstat (limited to 'src/Region.c')
-rw-r--r-- | src/Region.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Region.c b/src/Region.c index dcaaea7..20db21a 100644 --- a/src/Region.c +++ b/src/Region.c @@ -343,7 +343,7 @@ XFixesFetchRegionAndBounds (Display *dpy, if (rep.length < (INT_MAX >> 2)) { nbytes = (long) rep.length << 2; nrects = rep.length >> 1; - rects = Xmalloc (nrects * sizeof (XRectangle)); + rects = Xmalloc ((size_t) nrects * sizeof (XRectangle)); } else { nbytes = 0; nrects = 0; |