Fix signedness warning by casting.

This commit is contained in:
jdolan 2013-07-07 09:51:38 -04:00
parent 75b26411c3
commit 5ed95d5bdd

View file

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