- Fix some compiler warnings.

- Remove superfluous #include statement.
This commit is contained in:
Niels Kristian Bech Jensen 2000-03-28 20:44:59 +00:00 committed by Alexandre Julliard
parent 7bfd079b37
commit c9742b3204
4 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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"

View File

@ -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? */

View File

@ -5,6 +5,7 @@
* Copyright 1996 Ulrich Schmid
*/
#include <stdlib.h>
#include "macro.h"
static int skip = 0;