mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
dmstyle: Avoid signed-unsigned integer comparisons.
This commit is contained in:
parent
00f85d7fc3
commit
9d037fa95b
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue