Change ragel used types to avoid size warnings
This commit is contained in:
parent
4091a5874d
commit
4c96950130
@ -248,8 +248,8 @@ namespace json {
|
||||
const char *stop) {
|
||||
bool __success = true;
|
||||
json::node *__root = NULL;
|
||||
int cs, top = 0;
|
||||
deque <int> fsmstack;
|
||||
size_t cs, top = 0;
|
||||
deque <size_t> fsmstack;
|
||||
deque <parse_context> nodestack;
|
||||
|
||||
const char *p = start,
|
||||
|
@ -99,7 +99,7 @@ void
|
||||
version::parse (const string& str) {
|
||||
unsigned int current;
|
||||
|
||||
int cs;
|
||||
size_t cs;
|
||||
const char *p = str.data (),
|
||||
*pe = str.data () + str.size (),
|
||||
*eof = pe;
|
||||
|
Loading…
Reference in New Issue
Block a user