[xiph-cvs] cvs commit: vorbis-tools/oggenc utf8.c

Michael Smith msmith at xiph.org
Sun Aug 12 15:23:54 PDT 2001



msmith      01/08/12 15:23:54

  Modified:    oggenc   Tag: tools-pre-rc2 utf8.c
  Log:
  Add a cast to keep some compilers happy.

Revision  Changes    Path
No                   revision

No                   revision

1.5.2.3   +2 -1      vorbis-tools/oggenc/utf8.c

Index: utf8.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/utf8.c,v
retrieving revision 1.5.2.2
retrieving revision 1.5.2.3
diff -u -r1.5.2.2 -r1.5.2.3
--- utf8.c	2001/08/10 23:46:26	1.5.2.2
+++ utf8.c	2001/08/12 22:23:54	1.5.2.3
@@ -121,7 +121,8 @@
         from_p = from;
         to_p = buffer;
         
-	if(iconv(cd, &from_p, &from_left, &to_p, &to_left) == (size_t)-1)
+	if(iconv(cd, (const char **)(&from_p), &from_left, &to_p, 
+				&to_left) == (size_t)-1)
         {
                 iconv_close(cd);
                 switch(errno)

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