From b45e51940a42016e25a5c3a144968d81248927ed Mon Sep 17 00:00:00 2001 From: =?utf-8?q?J=C3=B6rg=20H=C3=B6hle?= Date: Mon, 2 Nov 2009 23:49:42 +0100 Subject: [PATCH] mciwave: Use volatile on slot modified from recorder thread. --- dlls/mciwave/mciwave.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/mciwave/mciwave.c b/dlls/mciwave/mciwave.c index be7d3b1..f02d310 100644 --- a/dlls/mciwave/mciwave.c +++ b/dlls/mciwave/mciwave.c @@ -46,7 +46,7 @@ typedef struct { BOOL fInput; /* FALSE = Output, TRUE = Input */ volatile WORD dwStatus; /* one from MCI_MODE_xxxx */ DWORD dwMciTimeFormat;/* One of the supported MCI_FORMAT_xxxx */ - DWORD dwPosition; /* position in bytes in chunk */ + volatile DWORD dwPosition; /* position in bytes in chunk */ HANDLE hEvent; /* for synchronization */ LONG dwEventCount; /* for synchronization */ MMCKINFO ckMainRIFF; /* main RIFF chunk */ -- 1.5.6.3