Mark Jansen : msi: Use the correct type when calculating feature cost.
Alexandre Julliard
julliard at winehq.org
Tue Mar 7 15:44:00 CST 2017
Module: wine
Branch: master
Commit: b53957df2a73ae51ca6ebc1e88bb9c4ed8b8d274
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b53957df2a73ae51ca6ebc1e88bb9c4ed8b8d274
Author: Mark Jansen <learn0more+wine at gmail.com>
Date: Tue Mar 7 15:48:59 2017 +0100
msi: Use the correct type when calculating feature cost.
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msi/install.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msi/install.c b/dlls/msi/install.c
index a0f69c9..0ccc8e3 100644
--- a/dlls/msi/install.c
+++ b/dlls/msi/install.c
@@ -1189,11 +1189,11 @@ UINT WINAPI MsiGetFeatureCostA(MSIHANDLE hInstall, LPCSTR szFeature,
static INT feature_cost( MSIFEATURE *feature )
{
INT cost = 0;
- MSICOMPONENT *comp;
+ ComponentList *cl;
- LIST_FOR_EACH_ENTRY( comp, &feature->Components, MSICOMPONENT, entry )
+ LIST_FOR_EACH_ENTRY( cl, &feature->Components, ComponentList, entry )
{
- cost += comp->Cost;
+ cost += cl->component->Cost;
}
return cost;
}
More information about the wine-cvs
mailing list