[xiph-cvs] cvs commit: vorbis-tools/ogg123 buffer.c ogg123.c

Michael Smith msmith at xiph.org
Mon Oct 1 20:10:43 PDT 2001



msmith      01/10/01 20:10:43

  Modified:    ogg123   buffer.c ogg123.c
  Log:
  Fix some warnings.

Revision  Changes    Path
1.8       +1 -1      vorbis-tools/ogg123/buffer.c

Index: buffer.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/buffer.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- buffer.c	2001/06/19 19:42:35	1.7
+++ buffer.c	2001/10/02 03:10:42	1.8
@@ -61,7 +61,7 @@
       }
 
       if (buf->writer == buf->end)
-	buf->writer = buf->buffer;
+	buf->writer = (chunk_t *)buf->buffer;
       else
         buf->writer++;
    }

1.48      +2 -1      vorbis-tools/ogg123/ogg123.c

Index: ogg123.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/ogg123.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- ogg123.c	2001/08/13 04:40:01	1.47
+++ ogg123.c	2001/10/02 03:10:42	1.48
@@ -14,7 +14,7 @@
  *                                                                  *
  ********************************************************************
 
- last mod: $Id: ogg123.c,v 1.47 2001/08/13 04:40:01 volsung Exp $
+ last mod: $Id: ogg123.c,v 1.48 2001/10/02 03:10:42 msmith Exp $
 
  ********************************************************************/
 
@@ -30,6 +30,7 @@
 #include <errno.h>
 #include <time.h>
 #include <getopt.h>
+#include <unistd.h>
 
 #include <signal.h>
 

--- >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