From: Andre Noll Date: Sat, 3 Mar 2007 17:51:23 +0000 (+0100) Subject: ogg_afh.c: chunk_table is an array of type size_t X-Git-Tag: v0.2.16~72 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=c3adc69511c64f4d10930c296375c4bb5e69a272;ds=sidebyside ogg_afh.c: chunk_table is an array of type size_t --- diff --git a/ogg_afh.c b/ogg_afh.c index 760514a8..1d284287 100644 --- a/ogg_afh.c +++ b/ogg_afh.c @@ -159,7 +159,7 @@ static void ogg_compute_chunk_table(double time_total) num = time_total / chunk_time + 3; PARA_DEBUG_LOG("chunk time: %g allocating %d chunk pointers\n", chunk_time, num); - chunk_table = para_malloc(num * sizeof(ogg_int64_t)); + chunk_table = para_malloc(num * sizeof(size_t)); chunk_table[0] = 0; max_chunk_len = 0; rewind(infile);