projects
/
wine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fac192f
)
fix tautological enum compare warnings when built with clang 9
author
Gianfranco Costamagna
<locutusofborg@debian.org>
Sun, 13 Mar 2022 04:27:41 +0000
(
04:27
+0000)
committer
Michael Gilbert
<mgilbert@debian.org>
Sun, 13 Mar 2022 04:27:41 +0000
(
04:27
+0000)
Forwarded: pending
Last-Update: 2019-12-31
Gbp-Pq: Topic arm64
Gbp-Pq: Name tautological-compare.patch
dlls/gdiplus/graphics.c
patch
|
blob
|
history
diff --git
a/dlls/gdiplus/graphics.c
b/dlls/gdiplus/graphics.c
index e5a709f6aa53ae31e640a6ce48277e038d184b88..9b5e35c3b780cfda69d7a50ee02cfd69a25f40a3 100644
(file)
--- a/
dlls/gdiplus/graphics.c
+++ b/
dlls/gdiplus/graphics.c
@@
-6943,8
+6943,8
@@
GpStatus WINGDIPAPI GdipTransformPoints(GpGraphics *graphics, GpCoordinateSpace
GpCoordinateSpace src_space, GpPointF *points, INT count)
{
if(!graphics || !points || count <= 0 ||
- dst_space
< 0 || dst_space
> CoordinateSpaceDevice ||
- src_space
< 0 || src_space
> CoordinateSpaceDevice)
+ dst_space > CoordinateSpaceDevice ||
+ src_space > CoordinateSpaceDevice)
return InvalidParameter;
if(graphics->busy)