diff --git a/dlls/dsound/dsound_main.c b/dlls/dsound/dsound_main.c index 2eec215a719..d24ffd095c8 100644 --- a/dlls/dsound/dsound_main.c +++ b/dlls/dsound/dsound_main.c @@ -1192,7 +1192,7 @@ static HRESULT WINAPI IDirectSoundBufferImpl_GetFrequency( return DSERR_INVALIDPARAM; *freq = This->freq; - TRACE("-> %d\n", *freq); + TRACE("-> %ld\n", *freq); return DS_OK; } diff --git a/dlls/winaspi/winaspi16.c b/dlls/winaspi/winaspi16.c index 7bbae1f2c67..d4a3393605f 100644 --- a/dlls/winaspi/winaspi16.c +++ b/dlls/winaspi/winaspi16.c @@ -14,7 +14,6 @@ #include "aspi.h" #include "winescsi.h" #include "winaspi.h" -#include "winescsi.h" #include "options.h" #include "heap.h" #include "debugtools.h" diff --git a/graphics/path.c b/graphics/path.c index d875f476cc0..3a5ab7940e6 100644 --- a/graphics/path.c +++ b/graphics/path.c @@ -67,7 +67,7 @@ DEFAULT_DEBUG_CHANNEL(gdi) #define GROW_FACTOR_DENOM 1 /* Denominator of grow factor */ -static BOOL PATH_PathToRegion(const GdiPath *pPath, INT nPolyFillMode, +static BOOL PATH_PathToRegion(GdiPath *pPath, INT nPolyFillMode, HRGN *pHrgn); static void PATH_EmptyPath(GdiPath *pPath); static BOOL PATH_AddEntry(GdiPath *pPath, const POINT *pPoint, @@ -1133,7 +1133,7 @@ static BOOL PATH_FlattenPath(GdiPath *pPath) * error occurs, SetLastError is called with the appropriate value and * FALSE is returned. */ -static BOOL PATH_PathToRegion(const GdiPath *pPath, INT nPolyFillMode, +static BOOL PATH_PathToRegion(GdiPath *pPath, INT nPolyFillMode, HRGN *pHrgn) { int numStrokes, iStroke, i; @@ -1143,7 +1143,7 @@ static BOOL PATH_PathToRegion(const GdiPath *pPath, INT nPolyFillMode, assert(pPath!=NULL); assert(pHrgn!=NULL); - PATH_FlattenPath(pPath); + PATH_FlattenPath(pPath); /* FIXME: What happens when number of points is zero? */ diff --git a/programs/winhelp/macro.yacc.y b/programs/winhelp/macro.yacc.y index ceb125f0495..b26eb3b7434 100644 --- a/programs/winhelp/macro.yacc.y +++ b/programs/winhelp/macro.yacc.y @@ -5,6 +5,7 @@ * Copyright 1996 Ulrich Schmid */ +#include #include "macro.h" static int skip = 0;