1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
description: fix 64-bit integer conversion warning (gcc13 -Wint-conversion)
author: Michael Gilbert <mgilbert@debian.org>
--- a/dlls/opengl32/unix_wgl.c
+++ b/dlls/opengl32/unix_wgl.c
@@ -1506,7 +1506,11 @@ NTSTATUS wow64_ext_glPathGlyphIndexRange
.fontStyle = params32->fontStyle,
.pathParameterTemplate = params32->pathParameterTemplate,
.emScale = params32->emScale,
+#if defined(__x86_64__) || defined(__aarch64__)
+ .baseAndCount = params32->baseAndCount,
+#else
.baseAndCount = {params32->baseAndCount[0], params32->baseAndCount[1]},
+#endif
};
NTSTATUS status;
if ((status = ext_glPathGlyphIndexRangeNV( ¶ms ))) return status;
|