[xiph-cvs] cvs commit: vorbis/lib info.c
Michael Smith
msmith at xiph.org
Sun Sep 30 07:02:32 PDT 2001
msmith 01/09/30 07:02:32
Modified: lib info.c
Log:
Fix type in sizeof().
Revision Changes Path
1.45 +2 -2 vorbis/lib/info.c
Index: info.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/info.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- info.c 2001/09/11 05:06:57 1.44
+++ info.c 2001/09/30 14:02:31 1.45
@@ -11,7 +11,7 @@
********************************************************************
function: maintain the info structure, info <-> header packets
- last mod: $Id: info.c,v 1.44 2001/09/11 05:06:57 xiphmont Exp $
+ last mod: $Id: info.c,v 1.45 2001/09/30 14:02:31 msmith Exp $
********************************************************************/
@@ -219,7 +219,7 @@
_v_readstring(opb,vc->vendor,vendorlen);
vc->comments=oggpack_read(opb,32);
if(vc->comments<0)goto err_out;
- vc->user_comments=_ogg_calloc(vc->comments+1,sizeof(char **));
+ vc->user_comments=_ogg_calloc(vc->comments+1,sizeof(char *));
vc->comment_lengths=_ogg_calloc(vc->comments+1, sizeof(int));
for(i=0;i<vc->comments;i++){
--- >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