[PATCH 2/4] include: Fix IDWriteFontResource definition.

Nikolay Sivov nsivov at codeweavers.com
Tue Apr 26 01:15:26 CDT 2022


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/dwrite/font.c   | 4 ++--
 include/dwrite_3.idl | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/dwrite/font.c b/dlls/dwrite/font.c
index 385c7fdeb03..ff95d3e57d9 100644
--- a/dlls/dwrite/font.c
+++ b/dlls/dwrite/font.c
@@ -7431,7 +7431,7 @@ static UINT32 WINAPI dwritefontresource_GetFontAxisCount(IDWriteFontResource *if
 }
 
 static HRESULT WINAPI dwritefontresource_GetDefaultFontAxisValues(IDWriteFontResource *iface,
-        DWRITE_FONT_AXIS_VALUE const *values, UINT32 num_values)
+        DWRITE_FONT_AXIS_VALUE *values, UINT32 num_values)
 {
     FIXME("%p, %p, %u.\n", iface, values, num_values);
 
@@ -7439,7 +7439,7 @@ static HRESULT WINAPI dwritefontresource_GetDefaultFontAxisValues(IDWriteFontRes
 }
 
 static HRESULT WINAPI dwritefontresource_GetFontAxisRanges(IDWriteFontResource *iface,
-        DWRITE_FONT_AXIS_RANGE const *ranges, UINT32 num_ranges)
+        DWRITE_FONT_AXIS_RANGE *ranges, UINT32 num_ranges)
 {
     FIXME("%p, %p, %u.\n", iface, ranges, num_ranges);
 
diff --git a/include/dwrite_3.idl b/include/dwrite_3.idl
index 3542fbc8f1d..845754f6e3f 100644
--- a/include/dwrite_3.idl
+++ b/include/dwrite_3.idl
@@ -219,10 +219,10 @@ interface IDWriteFontResource : IUnknown
     UINT32 GetFontFaceIndex();
     UINT32 GetFontAxisCount();
     HRESULT GetDefaultFontAxisValues(
-        DWRITE_FONT_AXIS_VALUE const *values,
+        DWRITE_FONT_AXIS_VALUE *values,
         UINT32 num_values);
     HRESULT GetFontAxisRanges(
-        DWRITE_FONT_AXIS_RANGE const *ranges,
+        DWRITE_FONT_AXIS_RANGE *ranges,
         UINT32 num_ranges);
     DWRITE_FONT_AXIS_ATTRIBUTES GetFontAxisAttributes(
         UINT32 axis);
-- 
2.35.1




More information about the wine-devel mailing list