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 e4ebe5ad54e9858470aa06425c9c751c8af5853f..24aec2ed5fdb322cf6bc9d3bc42c7ddc1cdb6c94 100644 (file)
 /* Error reporting */
 typedef enum {
   AUBIO_OK = 0,
-  AUBIO_FAIL = -1
+  AUBIO_FAIL = 1
 } aubio_status;
 
 #ifdef HAVE_C99_VARARGS_MACROS