From 84253f30f6763e693eb0b58b18d8a53075099151 Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Sun, 30 Sep 2001 14:02:31 +0000 Subject: [PATCH] Fix type in sizeof(). svn path=/trunk/vorbis/; revision=2102 --- lib/info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/info.c b/lib/info.c index 453e9a2..7adc7d7 100644 --- a/lib/info.c +++ b/lib/info.c @@ -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 @@ static int _vorbis_unpack_comment(vorbis_comment *vc,oggpack_buffer *opb){ _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;icomments;i++){ -- 2.7.4