A few mor compiler warning fixes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4467 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-06-24 19:57:52 +00:00
parent cc71c9bb52
commit d95bf96af8
4 changed files with 8 additions and 1 deletions

View file

@ -79,7 +79,8 @@ extern long strtol(const char *str, char** ptr, int base);
#define inchar() ((c = (*inchar_func)(stream)) == EOF ? EOF : (++read_in, c))
/* #define conv_error() return ((c == EOF || ungetc(c, s)), done) */
#define conv_error() return ((c == EOF || ((*unchar_func)(stream,c),c)), done)
//#define conv_error() return ((c == EOF || ((*unchar_func)(stream,c),c)), done)
#define conv_error() return (c==EOF ? done : ((*unchar_func)(stream,c), done))
#define input_error() return (done == 0 ? EOF : done)
#define memory_error() return ((errno = ENOMEM), EOF)