From e94a12f4f6dcb1f34b986c745d78b380aca91750 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Tue, 19 Apr 2011 16:19:34 +0200 Subject: [PATCH] Fix compiler warning. --- src/lj_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lj_str.c b/src/lj_str.c index 01bd68e2..2b94d977 100644 --- a/src/lj_str.c +++ b/src/lj_str.c @@ -50,7 +50,7 @@ __attribute__((packed)) Unaligned32 { uint32_t u; uint8_t b[4]; } Unaligned32; /* Unaligned read of uint32_t. */ -static uint32_t LJ_AINLINE str_getu32(const void *p) +static LJ_AINLINE uint32_t str_getu32(const void *p) { return ((const Unaligned32 *)p)->u; }