diff options
author | rlar <rlar> | 2016-02-28 10:41:23 +0100 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2016-03-01 06:07:36 -0500 |
commit | 265e8e5c90e54f803b94c98a9cfbb1a37804e0b5 (patch) | |
tree | f8610ddaff2c72fcf01dddd5441da49f8b0f884c /src | |
parent | f951c3f8cc581771013e657fd57bdce4d73aad1a (diff) |
avoid warning, POSIX says yyless() has an `int' argument
Diffstat (limited to 'src')
-rw-r--r-- | src/scan.l | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -528,8 +528,7 @@ M4QEND "]]" if (sf_skip_ws()){ /* We're in the middle of a (?x: ) pattern. */ /* Push back everything starting at the "|" */ - size_t amt; - amt = strchr (yytext, '|') - yytext; + int amt = (int) (strchr (yytext, '|') - yytext); yyless(amt); } else { |