mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
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:
parent
cc71c9bb52
commit
d95bf96af8
4 changed files with 8 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue