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 b4de774ad4f74de087d3d65cb78cf8a890ebef9f..7c6912c3b89fa8d71fe15f6dae7fb1eb1b6bd82c 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. */