ogg_afh.c: chunk_table is an array of type size_t
authorAndre Noll <maan@systemlinux.org>
Sat, 3 Mar 2007 17:51:23 +0000 (18:51 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 3 Mar 2007 17:51:23 +0000 (18:51 +0100)
ogg_afh.c

index 760514a..1d28428 100644 (file)
--- 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);