Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
lonig.c: fix a mismatched type in two results of ?:; closes issue rrt…
Browse files Browse the repository at this point in the history
  • Loading branch information
rrthomas committed Oct 2, 2012
1 parent 2cdbe1c commit 9aa4c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oniguruma/lonig.c
Expand Up @@ -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))
Expand Down

0 comments on commit 9aa4c1b

Please sign in to comment.