summaryrefslogtreecommitdiff
path: root/src/tre/ltre_w.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tre/ltre_w.c')
-rw-r--r--src/tre/ltre_w.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tre/ltre_w.c b/src/tre/ltre_w.c
index 0a6e370..7872b2e 100644
--- a/src/tre/ltre_w.c
+++ b/src/tre/ltre_w.c
@@ -41,7 +41,7 @@ void bufferZ_putrepstringW (TBuffer *BufRep, int reppos, int nsub);
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))/ALG_CHARSIZE + 1)
#define ALG_PUSHEND(L,ud,offs,n) lua_pushinteger(L, ((offs) + ALG_SUBEND(ud,n))/ALG_CHARSIZE)