shithub: sox

Download patch

ref: ae4743adcd38f1099b09f5bb856c8fd99418635f
parent: 93556f5296bd6b18bff328a8240673dd521485af
author: Rob Sykes <robs@users.sourceforge.net>
date: Wed Feb 27 16:53:29 EST 2013

quash warning

--- a/src/vorbis.c
+++ b/src/vorbis.c
@@ -72,7 +72,7 @@
 static int callback_seek(void* ft_data, ogg_int64_t off, int whence)
 {
   sox_format_t* ft = (sox_format_t*)ft_data;
-  int ret = ft->seekable ? lsx_seeki(ft, off, whence) : -1;
+  int ret = ft->seekable ? lsx_seeki(ft, (off_t)off, whence) : -1;
 
   if (ret == EBADF)
     ret = -1;