avifil32: Use BOOL type where appropriate
Frédéric Delanoy
frederic.delanoy at gmail.com
Mon Feb 24 17:05:33 CST 2014
---
dlls/avifil32/wavfile.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/avifil32/wavfile.c b/dlls/avifil32/wavfile.c
index fd6d9ec..07f9b5e 100644
--- a/dlls/avifil32/wavfile.c
+++ b/dlls/avifil32/wavfile.c
@@ -958,7 +958,7 @@ static HRESULT WINAPI IAVIStream_fnWrite(IAVIStream *iface, LONG start,
/* do we have anything to write? */
if (buffer != NULL && buffersize > 0) {
- This->fDirty = 1;
+ This->fDirty = TRUE;
if (mmioSeek(This->hmmio, This->ckData.dwDataOffset +
start * This->sInfo.dwSampleSize, SEEK_SET) == -1)
@@ -1021,7 +1021,7 @@ static HRESULT WINAPI IAVIStream_fnDelete(IAVIStream *iface, LONG start,
return AVIERR_UNSUPPORTED;
}
- This->fDirty = 1;
+ This->fDirty = TRUE;
return AVIERR_OK;
}
@@ -1225,7 +1225,7 @@ static HRESULT AVIFILE_LoadSunFile(IAVIFileImpl *This)
This->lpFormat->nAvgBytesPerSec =
This->lpFormat->nBlockAlign * This->lpFormat->nSamplesPerSec;
- This->fDirty = 0;
+ This->fDirty = FALSE;
This->sInfo.fccType = streamtypeAUDIO;
This->sInfo.fccHandler = 0;
--
1.9.0
More information about the wine-patches
mailing list