diff options
author | Reuben Thomas <rrt@sc3d.org> | 2012-10-02 22:45:40 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2012-10-02 22:45:40 +0100 |
commit | 9aa4c1baae4872950e587b3a950c5f1e03d9e1ea (patch) | |
tree | 279a6602ce8ae2b18a0e6b4af071da165701a8d8 | |
parent | 2cdbe1c4460249a5d2d865d4406fc06a64dcd560 (diff) | |
download | lrexlib-9aa4c1baae4872950e587b3a950c5f1e03d9e1ea.tar.gz |
lonig.c: fix a mismatched type in two results of ?:; closes issue #1
-rw-r--r-- | src/oniguruma/lonig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oniguruma/lonig.c b/src/oniguruma/lonig.c index d97f922..d622445 100644 --- a/src/oniguruma/lonig.c +++ b/src/oniguruma/lonig.c @@ -46,7 +46,7 @@ static void checkarg_compile (lua_State *L, int pos, TArgComp *argC); lua_pushlstring (L, (text) + ALG_SUBBEG(ud,n), ALG_SUBLEN(ud,n)) #define ALG_PUSHSUB_OR_FALSE(L,ud,text,n) \ - (ALG_SUBVALID(ud,n) ? ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0)) + (ALG_SUBVALID(ud,n) ? (void) ALG_PUSHSUB (L,ud,text,n) : lua_pushboolean (L,0)) #define ALG_PUSHSTART(L,ud,offs,n) lua_pushinteger(L, (offs) + ALG_SUBBEG(ud,n) + 1) #define ALG_PUSHEND(L,ud,offs,n) lua_pushinteger(L, (offs) + ALG_SUBEND(ud,n)) |