Mercurial > audlegacy-plugins
changeset 3075:eed75824b3f7
Return bytes in the range 0x80-0xff as positive; negative values indicate an error (fixes bug #27).
author | John Lindgren <john.lindgren@tds.net> |
---|---|
date | Sun, 26 Apr 2009 14:13:01 -0400 |
parents | 177688d045db |
children | 5b59df43b93f |
files | src/neon/neon.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/neon/neon.c Sun Apr 26 04:26:40 2009 -0400 +++ b/src/neon/neon.c Sun Apr 26 14:13:01 2009 -0400 @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include <stdint.h> + #include "neon.h" #include <audlegacy/plugin.h> @@ -189,7 +191,7 @@ } -static void add_icy(struct icy_metadata* m, gchar* name, gchar* value) { +static void add_icy(struct icy_metadata* m, gchar* name, gchar* value) { _ENTER; @@ -1165,9 +1167,7 @@ */ gint neon_aud_vfs_getc_impl(VFSFile* file) { - - gchar c; - + unsigned char c; _ENTER; if (1 != neon_aud_vfs_fread_impl(&c, 1, 1, file)) {