shithub: sox

Download patch

ref: d6b3a9ef2c8997c28ce52b5482bdbdd804a915d5
parent: febddf92b2cf3b1e422dce367ee236414463a023
author: cbagwell <cbagwell>
date: Thu Sep 13 08:42:12 EDT 2007

Use ftello's real prototype in case we are using -Wstrict-prototypes.

--- a/src/vorbis.c
+++ b/src/vorbis.c
@@ -101,7 +101,7 @@
                 (size_t (*)(void *, size_t, size_t, void *))  fread,
                 (int (*)(void *, ogg_int64_t, int))           _fseeko64_wrap,
                 (int (*)(void *))                             myclose,
-                (long (*)(void *))                            ftello
+                (off_t (*)(void *))                            ftello
         };
 
         /* Allocate space for decoding structure */