src/aubio_priv.h: change AUBIO_FAIL from 1 to -1, now works with unsigned ints
authorPaul Brossier <piem@piem.org>
Thu, 15 Oct 2009 18:50:51 +0000 (20:50 +0200)
committerPaul Brossier <piem@piem.org>
Thu, 15 Oct 2009 18:50:51 +0000 (20:50 +0200)
src/aubio_priv.h

index e4ebe5a..24aec2e 100644 (file)
 /* Error reporting */
 typedef enum {
   AUBIO_OK = 0,
-  AUBIO_FAIL = -1
+  AUBIO_FAIL = 1
 } aubio_status;
 
 #ifdef HAVE_C99_VARARGS_MACROS