Commit 576102e9 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

winmm: Use BOOL type where appropriate.

parent 09400373
...@@ -64,7 +64,8 @@ static WINE_LLTYPE llTypes[MMDRV_MAX] = { ...@@ -64,7 +64,8 @@ static WINE_LLTYPE llTypes[MMDRV_MAX] = {
{ "WaveOut", 0, 0, -1 } { "WaveOut", 0, 0, -1 }
}; };
static int drivers_loaded, MMDrvsHi; static BOOL drivers_loaded;
static int MMDrvsHi;
static WINE_MM_DRIVER MMDrvs[8]; static WINE_MM_DRIVER MMDrvs[8];
static LPWINE_MLD MM_MLDrvs[40]; static LPWINE_MLD MM_MLDrvs[40];
#define MAX_MM_MLDRVS (sizeof(MM_MLDrvs) / sizeof(MM_MLDrvs[0])) #define MAX_MM_MLDRVS (sizeof(MM_MLDrvs) / sizeof(MM_MLDrvs[0]))
...@@ -73,7 +74,7 @@ static void MMDRV_Init(void); ...@@ -73,7 +74,7 @@ static void MMDRV_Init(void);
static void MMDRV_InitSingleType(UINT type) { static void MMDRV_InitSingleType(UINT type) {
if (!drivers_loaded) { if (!drivers_loaded) {
drivers_loaded = 1; drivers_loaded = TRUE;
MMDRV_Init(); MMDRV_Init();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment