Alexandre Julliard : shell32: Fix compiler warnings for the Windows build.
Alexandre Julliard
julliard at winehq.org
Mon Apr 15 16:26:41 CDT 2019
Module: wine
Branch: master
Commit: 06c7d3a945087cc1540cbd5a94eefc6b78168368
URL: https://source.winehq.org/git/wine.git/?a=commit;h=06c7d3a945087cc1540cbd5a94eefc6b78168368
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Apr 15 13:15:38 2019 +0200
shell32: Fix compiler warnings for the Windows build.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/shell32/shfldr_unixfs.c | 4 ++--
dlls/shell32/trash.c | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/shfldr_unixfs.c b/dlls/shell32/shfldr_unixfs.c
index 732a103..a37b1bf 100644
--- a/dlls/shell32/shfldr_unixfs.c
+++ b/dlls/shell32/shfldr_unixfs.c
@@ -165,10 +165,10 @@
#include "pidl.h"
#include "debughlp.h"
-WINE_DEFAULT_DEBUG_CHANNEL(shell);
-
#if !defined(__MINGW32__) && !defined(_MSC_VER)
+WINE_DEFAULT_DEBUG_CHANNEL(shell);
+
#define LEN_SHITEMID_FIXED_PART ((USHORT) \
( sizeof(USHORT) /* SHITEMID's cb field. */ \
+ sizeof(PIDLTYPE) /* PIDLDATA's type field. */ \
diff --git a/dlls/shell32/trash.c b/dlls/shell32/trash.c
index fc75c17..93b4ee4 100644
--- a/dlls/shell32/trash.c
+++ b/dlls/shell32/trash.c
@@ -21,6 +21,7 @@
*/
#include "config.h"
+#include "wine/port.h"
#include <stdarg.h>
#include <stdio.h>
More information about the wine-cvs
mailing list