Skip to content
Snippets Groups Projects
Commit c9742b32 authored by Niels Kristian Bech Jensen's avatar Niels Kristian Bech Jensen Committed by Alexandre Julliard
Browse files

- Fix some compiler warnings.

- Remove superfluous #include statement.
parent 7bfd079b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
......@@ -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"
......
......@@ -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? */
......
......@@ -5,6 +5,7 @@
* Copyright 1996 Ulrich Schmid
*/
#include <stdlib.h>
#include "macro.h"
static int skip = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment