shithub: aubio

Download patch

ref: 74dcddbd70876888474eedb22c6876f904e86045
parent: 11b49d7cc558640ff21bb8c8feac31fdcf28d039
author: Paul Brossier <piem@piem.org>
date: Sun Sep 21 07:40:34 EDT 2014

src/io/source_sndfile.c: cast to uint_t for now

--- a/src/io/source_sndfile.c
+++ b/src/io/source_sndfile.c
@@ -270,8 +270,8 @@
     return AUBIO_FAIL;
   }
   if (sf_ret != resampled_pos) {
-    AUBIO_ERR("source_sndfile: Tried seeking %s at %d, but got %lld: %s\n",
-        s->path, resampled_pos, sf_ret, sf_strerror (NULL));
+    AUBIO_ERR("source_sndfile: Tried seeking %s at %d, but got %d: %s\n",
+        s->path, resampled_pos, (uint_t)sf_ret, sf_strerror (NULL));
     return AUBIO_FAIL;
   }
   return AUBIO_OK;