From: Paul Brossier Date: Thu, 15 Oct 2009 18:50:51 +0000 (+0200) Subject: src/aubio_priv.h: change AUBIO_FAIL from 1 to -1, now works with unsigned ints X-Git-Tag: 0.4.0-beta1~656 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=e8ae95aceb7873e9e0a2f1a5876a4ba7f2b30e94 src/aubio_priv.h: change AUBIO_FAIL from 1 to -1, now works with unsigned ints --- diff --git a/src/aubio_priv.h b/src/aubio_priv.h index e4ebe5ad..24aec2ed 100644 --- 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