shithub: aubio

Download patch

ref: e8ae95aceb7873e9e0a2f1a5876a4ba7f2b30e94
parent: 515c7b25b49fa76c19b1aaffcdd495cf407cba91
author: Paul Brossier <[email protected]>
date: Thu Oct 15 16:50:51 EDT 2009

src/aubio_priv.h: change AUBIO_FAIL from 1 to -1, now works with unsigned ints

--- a/src/aubio_priv.h
+++ b/src/aubio_priv.h
@@ -106,7 +106,7 @@
 /* Error reporting */
 typedef enum {
   AUBIO_OK = 0,
-  AUBIO_FAIL = -1
+  AUBIO_FAIL = 1
 } aubio_status;
 
 #ifdef HAVE_C99_VARARGS_MACROS