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 | |
parent | b3d10cdf62ce07e5662a73ec654dc3ce5c117966 (diff) | |
download | luajit-e94a12f4f6dcb1f34b986c745d78b380aca91750.tar.gz luajit-e94a12f4f6dcb1f34b986c745d78b380aca91750.tar.bz2 luajit-e94a12f4f6dcb1f34b986c745d78b380aca91750.zip |
Fix compiler warning.
Diffstat (limited to 'src')
-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)) | |||
50 | Unaligned32 { uint32_t u; uint8_t b[4]; } Unaligned32; | 50 | Unaligned32 { uint32_t u; uint8_t b[4]; } Unaligned32; |
51 | 51 | ||
52 | /* Unaligned read of uint32_t. */ | 52 | /* Unaligned read of uint32_t. */ |
53 | static uint32_t LJ_AINLINE str_getu32(const void *p) | 53 | static LJ_AINLINE uint32_t str_getu32(const void *p) |
54 | { | 54 | { |
55 | return ((const Unaligned32 *)p)->u; | 55 | return ((const Unaligned32 *)p)->u; |
56 | } | 56 | } |