From 17b3c9cdf26bb630acad286d61498171e8a96015 Mon Sep 17 00:00:00 2001 From: Luke Gorrie Date: Tue, 21 Nov 2017 15:59:57 +0000 Subject: [PATCH] lj_bcread.c: Fix warning --- src/lj_bcread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lj_bcread.c b/src/lj_bcread.c index b1e7498aab..3afd8250be 100644 --- a/src/lj_bcread.c +++ b/src/lj_bcread.c @@ -151,7 +151,7 @@ static uint32_t bcread_uleb128_33(LexState *ls) /* Read debug info of a prototype. */ static void bcread_dbg(LexState *ls, GCproto *pt, MSize sizedbg) { - uint32_t *lineinfo = proto_lineinfo(pt); + uint32_t *lineinfo = (uint32_t*)proto_lineinfo(pt); bcread_block(ls, lineinfo, sizedbg); /* Swap lineinfo if the endianess differs. */ if (bcread_swap(ls)) {