win version was broken because wchar_t is unsigned in WIN32.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2070 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2008-01-28 23:35:04 +00:00
parent c567a5aeb1
commit 4a07cd99a5
7 changed files with 169 additions and 16 deletions

View File

@@ -264,10 +264,10 @@ typedef enum {
#define NUMBER_OF_CHARS 256
extern char *Yap_chtype;
EXTERN inline int STD_PROTO(chtype,(wchar_t));
EXTERN inline int STD_PROTO(chtype,(int));
EXTERN inline int
chtype(wchar_t ch)
chtype(int ch)
{
if (ch < 256)
return Yap_chtype[ch];