Change chunktable array type from size_t to uint32_t.
authorAndre Noll <maan@systemlinux.org>
Mon, 22 Oct 2007 21:53:01 +0000 (23:53 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 22 Oct 2007 21:53:01 +0000 (23:53 +0200)
It's better to have a fixed size here.

afh.h

diff --git a/afh.h b/afh.h
index b4de774..7c6912c 100644 (file)
--- a/afh.h
+++ b/afh.h
@@ -41,7 +41,7 @@ struct audio_format_info {
         * The table that specifies the offset of the individual pieces in
         * the current audio file.
         */
-       size_t *chunk_table;
+       uint32_t *chunk_table;
        /** Period of time between sending data chunks. */
        struct timeval chunk_tv;
        /** End of file timeout - Do not load new audio file until this time. */