[Scummvm-cvs-logs] CVS: scummvm/sound mp3.cpp,1.22,1.23

Max Horn fingolfin at users.sourceforge.net
Sun Jun 26 16:49:08 CEST 2005


Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25841/sound

Modified Files:
	mp3.cpp 
Log Message:
Fix warning

Index: mp3.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/mp3.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- mp3.cpp	26 Jun 2005 19:44:55 -0000	1.22
+++ mp3.cpp	26 Jun 2005 23:47:19 -0000	1.23
@@ -349,12 +349,12 @@
 	struct mad_stream& stream = *streamptr;
 	struct mad_frame& frame = *frameptr;
 	unsigned char* buffer = bufferptr;
-	int sizeofbuffer = 8192;
+	uint sizeofbuffer = 8192;
 #else
 	struct mad_stream stream;
 	struct mad_frame frame;
 	unsigned char buffer[8192];
-	int sizeofbuffer = sizeof(buffer);
+	uint sizeofbuffer = sizeof(buffer);
 #endif
 	unsigned int buflen = 0;
 	int count = 0;





More information about the Scummvm-git-logs mailing list