From: <fr...@us...> - 2012-02-03 11:52:26
|
Revision: 4654 http://fuse-emulator.svn.sourceforge.net/fuse-emulator/?rev=4654&view=rev Author: fredm Date: 2012-02-03 11:52:16 +0000 (Fri, 03 Feb 2012) Log Message: ----------- Correct error argument in libspectrum_print_error() calls (thanks, clang 2.1). Modified Paths: -------------- trunk/libspectrum/hacking/ChangeLog trunk/libspectrum/szx.c Modified: trunk/libspectrum/hacking/ChangeLog =================================================================== --- trunk/libspectrum/hacking/ChangeLog 2012-02-03 11:48:30 UTC (rev 4653) +++ trunk/libspectrum/hacking/ChangeLog 2012-02-03 11:52:16 UTC (rev 4654) @@ -871,3 +871,5 @@ 20111106 rzx.c,szx.c: remove unused variables (thanks, gcc 4.6). 20120203 csw.c: fix less than 0 check on unsigned expression (thanks, clang 2.1) (Fred). +20120203 szx.c: correct error argument in libspectrum_print_error() calls + (thanks, clang 2.1) (Fred). Modified: trunk/libspectrum/szx.c =================================================================== --- trunk/libspectrum/szx.c 2012-02-03 11:48:30 UTC (rev 4653) +++ trunk/libspectrum/szx.c 2012-02-03 11:52:16 UTC (rev 4654) @@ -2267,10 +2267,10 @@ default: libspectrum_print_error( - LIBSPECTRUM_MACHINE_UNKNOWN, + LIBSPECTRUM_ERROR_UNKNOWN, "libspectrum_szx_read: unknown machine type %d", (int)*buffer ); - return LIBSPECTRUM_MACHINE_UNKNOWN; + return LIBSPECTRUM_ERROR_UNKNOWN; } /* Skip to the end of the header */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |