appwiz.cpl: Use the proper type to hold the return value (PVS-Studio)

Michael Stefaniuc mstefani at redhat.de
Sat Feb 21 11:23:29 CST 2015


---
 dlls/appwiz.cpl/addons.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/appwiz.cpl/addons.c b/dlls/appwiz.cpl/addons.c
index 3a7d35d..3704c56 100644
--- a/dlls/appwiz.cpl/addons.c
+++ b/dlls/appwiz.cpl/addons.c
@@ -307,7 +307,7 @@ static enum install_res install_from_default_dir(void)
     const char *data_dir, *package_dir;
     char *dir_buf = NULL;
     int len;
-    BOOL ret;
+    enum install_res ret;
 
     if((data_dir = wine_get_data_dir())) {
         package_dir = data_dir;
-- 
1.9.3



More information about the wine-patches mailing list