use int for character variables

This commit is contained in:
Yuichi Nishiwaki 2014-08-12 09:09:24 +09:00
parent d922fb9747
commit 8dae333bbd
1 changed files with 2 additions and 2 deletions

View File

@ -239,7 +239,7 @@ static size_t
read_suffix(pic_state *pic, struct pic_port *port, char buf[])
{
size_t i = 0;
char c;
int c;
c = peek(port);
@ -521,7 +521,7 @@ read_unsigned_blob(pic_state *pic, struct pic_port *port, int c)
static pic_value
read_pair(pic_state *pic, struct pic_port *port, int c)
{
char tOPEN = c, tCLOSE = (tOPEN == '(') ? ')' : ']';
int tOPEN = c, tCLOSE = (tOPEN == '(') ? ')' : ']';
pic_value car, cdr;
retry: