Commit 9d037fa9 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

dmstyle: Avoid signed-unsigned integer comparisons.

parent 00f85d7f
...@@ -263,7 +263,7 @@ static HRESULT WINAPI IDirectMusicCommandTrack_IPersistStream_Load (LPPERSISTSTR ...@@ -263,7 +263,7 @@ static HRESULT WINAPI IDirectMusicCommandTrack_IPersistStream_Load (LPPERSISTSTR
TRACE_(dmfile)(": %s chunk (size = %d)", debugstr_fourcc (chunkID), chunkSize); TRACE_(dmfile)(": %s chunk (size = %d)", debugstr_fourcc (chunkID), chunkSize);
switch (chunkID) { switch (chunkID) {
case DMUS_FOURCC_COMMANDTRACK_CHUNK: { case DMUS_FOURCC_COMMANDTRACK_CHUNK: {
int count; DWORD count;
TRACE_(dmfile)(": command track chunk\n"); TRACE_(dmfile)(": command track chunk\n");
IStream_Read (pStm, &dwSizeOfStruct, sizeof(DWORD), NULL); IStream_Read (pStm, &dwSizeOfStruct, sizeof(DWORD), NULL);
if (dwSizeOfStruct != sizeof(DMUS_IO_COMMAND)) { if (dwSizeOfStruct != sizeof(DMUS_IO_COMMAND)) {
......
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