mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix compiler warning.
This commit is contained in:
parent
b3d10cdf62
commit
e94a12f4f6
@ -50,7 +50,7 @@ __attribute__((packed))
|
|||||||
Unaligned32 { uint32_t u; uint8_t b[4]; } Unaligned32;
|
Unaligned32 { uint32_t u; uint8_t b[4]; } Unaligned32;
|
||||||
|
|
||||||
/* Unaligned read of uint32_t. */
|
/* 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;
|
return ((const Unaligned32 *)p)->u;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user