[2/2] gdiplus: fix a warning in GdipMultiplyTextureTransform
Nikolay Sivov
bunglehead at gmail.com
Wed Dec 3 09:31:24 CST 2008
Changelog:
- commit a886b4743f7efbabe481540be9f9a93ac85eb3e0 added a warning on passing
constant pointer as a pointer
>From 11ea753db269c55942ed81a1649a8d2920eabd2f Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Wed, 3 Dec 2008 18:25:55 +0300
Subject: fix a compiler warning on constant pointer
---
dlls/gdiplus/brush.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index efcf31d..a6cba3a 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -939,7 +939,7 @@ GpStatus WINGDIPAPI GdipMultiplyTextureTransform(GpTexture* brush,
if(!brush || !matrix)
return InvalidParameter;
- return GdipMultiplyMatrix(brush->transform, matrix, order);
+ return GdipMultiplyMatrix(brush->transform, (GpMatrix*)matrix, order);
}
/******************************************************************************
--
1.4.4.4
More information about the wine-patches
mailing list