mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-10 06:31:41 +00:00
Fix signedness warning by casting.
This commit is contained in:
parent
75b26411c3
commit
5ed95d5bdd
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue