Skip to content

Commit 587689d

Browse files
committed
yyleng is an int, not a std::size_t
1 parent e9f5711 commit 587689d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/json/parser.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
int yyjsonlex();
99
extern char *yyjsontext;
10-
extern std::size_t yyjsonleng;
10+
extern int yyjsonleng; // really an int, not a size_t
1111

1212
static std::string convert_TOK_STRING()
1313
{

0 commit comments

Comments
 (0)