diff options
author | Mike Pall <mike> | 2011-04-19 16:19:34 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-04-19 16:19:34 +0200 |
commit | e94a12f4f6dcb1f34b986c745d78b380aca91750 (patch) | |
tree | 570a6c16d5aabaf9ec408bfa2adbce86d9732c13 /src/lj_str.c | |
parent | b3d10cdf62ce07e5662a73ec654dc3ce5c117966 (diff) | |
download | luajit2-e94a12f4f6dcb1f34b986c745d78b380aca91750.tar.gz |
Fix compiler warning.
Diffstat (limited to 'src/lj_str.c')
-rw-r--r-- | src/lj_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |