Fix signedness warning by casting.

This commit is contained in:
jdolan 2013-07-07 09:51:38 -04:00
parent 75b26411c3
commit 5ed95d5bdd
1 changed files with 2 additions and 2 deletions

View File

@ -761,8 +761,8 @@ picoParser_t *_pico_new_parser( picoByte_t *buffer, int bufSize ){
return NULL;
}
/* setup */
p->buffer = buffer;
p->cursor = buffer;
p->buffer = (char *)buffer;
p->cursor = p->buffer;
p->bufSize = bufSize;
p->max = p->buffer + bufSize;
p->curLine = 1; /* sea: new */