Andrew Talbot : dmstyle: Avoid signed-unsigned integer comparisons.

Alexandre Julliard julliard at winehq.org
Wed Jan 16 13:47:42 CST 2013


Module: wine
Branch: master
Commit: 9d037fa95be17eddd9d2a22cee9ee6c6832ea2ed
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9d037fa95be17eddd9d2a22cee9ee6c6832ea2ed

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Tue Jan 15 22:26:56 2013 +0000

dmstyle: Avoid signed-unsigned integer comparisons.

---

 dlls/dmstyle/commandtrack.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/dmstyle/commandtrack.c b/dlls/dmstyle/commandtrack.c
index 17dc8f8..9fe0057 100644
--- a/dlls/dmstyle/commandtrack.c
+++ b/dlls/dmstyle/commandtrack.c
@@ -263,7 +263,7 @@ static HRESULT WINAPI IDirectMusicCommandTrack_IPersistStream_Load (LPPERSISTSTR
 	TRACE_(dmfile)(": %s chunk (size = %d)", debugstr_fourcc (chunkID), chunkSize);
 	switch (chunkID) {
 		case DMUS_FOURCC_COMMANDTRACK_CHUNK: {
-			int count;
+			DWORD count;
 			TRACE_(dmfile)(": command track chunk\n");
 			IStream_Read (pStm, &dwSizeOfStruct, sizeof(DWORD), NULL);
 			if (dwSizeOfStruct != sizeof(DMUS_IO_COMMAND)) {




More information about the wine-cvs mailing list