Bläddra i källkod

Fix compiler warning.

Mike Pall 14 år sedan
förälder
incheckning
e94a12f4f6
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/lj_str.c

+ 1 - 1
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;
 }