Change ragel index variables to avoid signed warns
This commit is contained in:
parent
5f6504de73
commit
134ab02ba6
@ -249,8 +249,9 @@ namespace json {
|
||||
const char *stop) {
|
||||
bool __success = true;
|
||||
json::node *__root = NULL;
|
||||
size_t cs, top = 0;
|
||||
deque <size_t> fsmstack;
|
||||
size_t top = 0;
|
||||
int cs;
|
||||
deque <int> fsmstack;
|
||||
deque <parse_context> nodestack;
|
||||
|
||||
const char *p = start,
|
||||
|
@ -109,7 +109,7 @@ void
|
||||
version::parse (const string& str) {
|
||||
unsigned int current;
|
||||
|
||||
size_t cs;
|
||||
int cs;
|
||||
const char *p = str.data (),
|
||||
*pe = str.data () + str.size (),
|
||||
*eof = pe;
|
||||
@ -123,7 +123,7 @@ void
|
||||
version::parse (const char *str) {
|
||||
unsigned int current;
|
||||
|
||||
size_t cs;
|
||||
int cs;
|
||||
const char *p = str,
|
||||
*pe = str + strlen (str),
|
||||
*eof = pe;
|
||||
|
Loading…
Reference in New Issue
Block a user