[xiph-cvs] cvs commit: ices/src mp3.c

Brendan brendan at xiph.org
Thu Jul 3 06:06:22 PDT 2003



brendan     03/07/03 09:06:22

  Modified:    src      mp3.c
  Log:
  Kill a warning. I should make most of these bitfields though.

Revision  Changes    Path
1.34      +14 -14    ices/src/mp3.c

Index: mp3.c
===================================================================
RCS file: /cvs/ice/ices/src/mp3.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -p -u -r1.33 -r1.34
--- mp3.c	3 Jul 2003 04:41:32 -0000	1.33
+++ mp3.c	3 Jul 2003 13:06:22 -0000	1.34
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  *
- * $Id: mp3.c,v 1.33 2003/07/03 04:41:32 brendan Exp $
+ * $Id: mp3.c,v 1.34 2003/07/03 13:06:22 brendan Exp $
  */
 
 #include "definitions.h"
@@ -29,19 +29,19 @@
 #define MP3_BUFFER_SIZE 4096
 
 typedef struct {
-  int version;
-  int layer;
-  int error_protection;
-  int bitrate;
-  int samplerate;
-  int padding;
-  int extension;
-  int mode;
-  int mode_ext;
-  int copyright;
-  int original;
-  int emphasis;
-  int channels;
+  unsigned int version;
+  unsigned int layer;
+  unsigned int error_protection;
+  unsigned int bitrate;
+  unsigned int samplerate;
+  unsigned int padding;
+  unsigned int extension;
+  unsigned int mode;
+  unsigned int mode_ext;
+  unsigned int copyright;
+  unsigned int original;
+  unsigned int emphasis;
+  unsigned int channels;
 } mp3_header_t;
 
 typedef struct {

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list