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) {
|
const char *stop) {
|
||||||
bool __success = true;
|
bool __success = true;
|
||||||
json::node *__root = NULL;
|
json::node *__root = NULL;
|
||||||
int cs, top = 0;
|
size_t cs, top = 0;
|
||||||
deque <int> fsmstack;
|
deque <size_t> fsmstack;
|
||||||
deque <parse_context> nodestack;
|
deque <parse_context> nodestack;
|
||||||
|
|
||||||
const char *p = start,
|
const char *p = start,
|
||||||
|
@ -99,7 +99,7 @@ void
|
|||||||
version::parse (const string& str) {
|
version::parse (const string& str) {
|
||||||
unsigned int current;
|
unsigned int current;
|
||||||
|
|
||||||
int cs;
|
size_t cs;
|
||||||
const char *p = str.data (),
|
const char *p = str.data (),
|
||||||
*pe = str.data () + str.size (),
|
*pe = str.data () + str.size (),
|
||||||
*eof = pe;
|
*eof = pe;
|
||||||
|
Loading…
Reference in New Issue
Block a user