Skip to content

Commit

Permalink
lj_bcread.c: Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego committed Nov 21, 2017
1 parent 7f4787a commit 17b3c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lj_bcread.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 17b3c9c

Please sign in to comment.