Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
José Casanova Crespo
xserver
Commits
9937183e
Commit
9937183e
authored
Apr 21, 2020
by
Alexander Volkov
Committed by
Adam Jackson
May 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build with gcc 9.3.0's -Werror=alloc-size-larger-than=
parent
89f42b88
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
exa/exa_accel.c
exa/exa_accel.c
+1
-1
hw/xnest/Display.c
hw/xnest/Display.c
+1
-1
randr/rrcrtc.c
randr/rrcrtc.c
+1
-1
No files found.
exa/exa_accel.c
View file @
9937183e
...
...
@@ -738,7 +738,7 @@ exaPolySegment(DrawablePtr pDrawable, GCPtr pGC, int nseg, xSegment * pSeg)
}
}
prect
=
xallocarray
(
nseg
,
sizeof
(
xRectangle
));
prect
=
xallocarray
(
(
unsigned
int
)
nseg
,
sizeof
(
xRectangle
));
for
(
i
=
0
;
i
<
nseg
;
i
++
)
{
if
(
pSeg
[
i
].
x1
<
pSeg
[
i
].
x2
)
{
prect
[
i
].
x
=
pSeg
[
i
].
x1
;
...
...
hw/xnest/Display.c
View file @
9937183e
...
...
@@ -41,7 +41,7 @@ XVisualInfo *xnestVisuals;
int
xnestNumVisuals
;
int
xnestDefaultVisualIndex
;
Colormap
*
xnestDefaultColormaps
;
static
int
xnestNumDefaultColormaps
;
static
unsigned
int
xnestNumDefaultColormaps
;
int
*
xnestDepths
;
int
xnestNumDepths
;
XPixmapFormatValues
*
xnestPixmapFormats
;
...
...
randr/rrcrtc.c
View file @
9937183e
...
...
@@ -1239,7 +1239,7 @@ ProcRRSetCrtcConfig(ClientPtr client)
rrScrPrivPtr
pScrPriv
;
RRCrtcPtr
crtc
;
RRModePtr
mode
;
int
numOutputs
;
unsigned
int
numOutputs
;
RROutputPtr
*
outputs
=
NULL
;
RROutput
*
outputIds
;
TimeStamp
time
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment