[Scummvm-cvs-logs] SF.net SVN: scummvm: [28350] tools/branches/gsoc2007-toolsgui
lightcast at users.sourceforge.net
lightcast at users.sourceforge.net
Tue Jul 31 04:04:46 CEST 2007
Revision: 28350
http://scummvm.svn.sourceforge.net/scummvm/?rev=28350&view=rev
Author: lightcast
Date: 2007-07-30 19:04:46 -0700 (Mon, 30 Jul 2007)
Log Message:
-----------
Fixed several compiler warnings.
Modified Paths:
--------------
tools/branches/gsoc2007-toolsgui/compress.c
tools/branches/gsoc2007-toolsgui/compress_saga.cpp
tools/branches/gsoc2007-toolsgui/compress_scumm_sou.c
Modified: tools/branches/gsoc2007-toolsgui/compress.c
===================================================================
--- tools/branches/gsoc2007-toolsgui/compress.c 2007-07-31 01:43:32 UTC (rev 28349)
+++ tools/branches/gsoc2007-toolsgui/compress.c 2007-07-31 02:04:46 UTC (rev 28350)
@@ -248,7 +248,7 @@
rawData = (char *)malloc(length);
fread(rawData, 1, length, inputRaw);
- printf(" - length = %d\n", length);
+ printf(" - length = %ld\n", length);
printf(" - channels = %d\n", (rawAudioType.isStereo ? 2 : 1));
printf(" - sample rate = %d\n", rawSamplerate);
printf(" - compression = %dbits\n", rawAudioType.bitsPerSample);
Modified: tools/branches/gsoc2007-toolsgui/compress_saga.cpp
===================================================================
--- tools/branches/gsoc2007-toolsgui/compress_saga.cpp 2007-07-31 01:43:32 UTC (rev 28349)
+++ tools/branches/gsoc2007-toolsgui/compress_saga.cpp 2007-07-31 02:04:46 UTC (rev 28350)
@@ -458,7 +458,7 @@
int i;
char *p;
char inputPath[768];
- char *inputFileName;
+ char *inputFileName = NULL;
char inputFileNameWithExt[256];
if (argc < 2) {
Modified: tools/branches/gsoc2007-toolsgui/compress_scumm_sou.c
===================================================================
--- tools/branches/gsoc2007-toolsgui/compress_scumm_sou.c 2007-07-31 01:43:32 UTC (rev 28349)
+++ tools/branches/gsoc2007-toolsgui/compress_scumm_sou.c 2007-07-31 02:04:46 UTC (rev 28350)
@@ -195,7 +195,6 @@
{
char *p;
char inputPath[768];
- char tmp[1024];
char buf[2048];
int i;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list