aboutsummaryrefslogtreecommitdiff
path: root/lptree.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-04-28 10:33:53 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-04-28 10:33:53 -0300
commit460a35cbcb33fbc56f5a658b96a793b9bb8963e9 (patch)
tree138df91e9dec0544b64bad3334d01ca38d2b7408 /lptree.c
parent503126fec29117e31d633b81203f887b99040c4a (diff)
downloadlpeg-460a35cbcb33fbc56f5a658b96a793b9bb8963e9.tar.gz
lpeg-460a35cbcb33fbc56f5a658b96a793b9bb8963e9.tar.bz2
lpeg-460a35cbcb33fbc56f5a658b96a793b9bb8963e9.zip
New type name 'uint' (unsigned int)
Diffstat (limited to 'lptree.c')
-rw-r--r--lptree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lptree.c b/lptree.c
index ff5cb9d..dcee27e 100644
--- a/lptree.c
+++ b/lptree.c
@@ -736,7 +736,7 @@ static int lp_utfr (lua_State *L) {
736 lua_Unsigned to = (lua_Unsigned)luaL_checkinteger(L, 2); 736 lua_Unsigned to = (lua_Unsigned)luaL_checkinteger(L, 2);
737 luaL_argcheck(L, from <= to, 2, "empty range"); 737 luaL_argcheck(L, from <= to, 2, "empty range");
738 if (to <= 0x7f) { /* ascii range? */ 738 if (to <= 0x7f) { /* ascii range? */
739 unsigned int f; 739 uint f;
740 byte buff[CHARSETSIZE]; /* code it as a regular charset */ 740 byte buff[CHARSETSIZE]; /* code it as a regular charset */
741 clearset(buff); 741 clearset(buff);
742 for (f = (int)from; f <= to; f++) 742 for (f = (int)from; f <= to; f++)