[PATCH 4/5] d3dx9_36: Make the order parameter of weightedcapintegrale an UINT.

Stefan Dösinger stefan at codeweavers.com
Fri Jan 3 07:17:19 CST 2014


All callers pass in UINTs, and the parameter is used only in comparison to
unsigned ints.
---
 dlls/d3dx9_36/math.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d3dx9_36/math.c b/dlls/d3dx9_36/math.c
index a5dbee1..f98927f 100644
--- a/dlls/d3dx9_36/math.c
+++ b/dlls/d3dx9_36/math.c
@@ -2286,7 +2286,7 @@ FLOAT WINAPI D3DXSHDot(UINT order, const FLOAT *a, const FLOAT *b)
     return s;
 }
 
-static void weightedcapintegrale(FLOAT *out, FLOAT order, FLOAT angle)
+static void weightedcapintegrale(FLOAT *out, UINT order, FLOAT angle)
 {
     FLOAT coeff[3];
 
-- 
1.8.3.4 (Apple Git-47)




More information about the wine-patches mailing list