[Flac-dev] [PATCH] Fix spurious semicolon

Ralph Giles giles at xiph.org
Sat Jun 4 07:59:01 PDT 2005


The attached patch removes a spurious semicolon after a comment
which causes problems with the Sun compiler.

 -r

-------------- next part --------------
? semicolon-fix.diff
Index: src/libFLAC/format.c
===================================================================
RCS file: /cvsroot/flac/flac/src/libFLAC/format.c,v
retrieving revision 1.68
diff -u -r1.68 format.c
--- src/libFLAC/format.c	4 Feb 2005 06:42:39 -0000	1.68
+++ src/libFLAC/format.c	4 Jun 2005 14:17:06 -0000
@@ -63,7 +63,7 @@
 
 FLAC_API const FLAC__byte FLAC__STREAM_SYNC_STRING[4] = { 'f','L','a','C' };
 FLAC_API const unsigned FLAC__STREAM_SYNC = 0x664C6143;
-FLAC_API const unsigned FLAC__STREAM_SYNC_LEN = 32; /* bits */;
+FLAC_API const unsigned FLAC__STREAM_SYNC_LEN = 32; /* bits */
 
 FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_MIN_BLOCK_SIZE_LEN = 16; /* bits */
 FLAC_API const unsigned FLAC__STREAM_METADATA_STREAMINFO_MAX_BLOCK_SIZE_LEN = 16; /* bits */


More information about the Flac-dev mailing list