diff options
Diffstat (limited to 'lutf8lib.c')
| -rw-r--r-- | lutf8lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -28,7 +28,7 @@ | |||
| 28 | /* | 28 | /* |
| 29 | ** Integer type for decoded UTF-8 values; MAXUTF needs 31 bits. | 29 | ** Integer type for decoded UTF-8 values; MAXUTF needs 31 bits. |
| 30 | */ | 30 | */ |
| 31 | #if LUAI_BITSINT >= 31 | 31 | #if ((UINT_MAX >> 15) >> 15) >= 1 |
| 32 | typedef unsigned int utfint; | 32 | typedef unsigned int utfint; |
| 33 | #else | 33 | #else |
| 34 | typedef unsigned long utfint; | 34 | typedef unsigned long utfint; |
