Bug #815
open
printf("%tu", (size_t)-1) produce wrong string on 32-bit platforms
Added by Dmitry M. almost 10 years ago.
Updated about 9 years ago.
CPU Architecture:
arm, mips, x86
Description
It produce "18446744073709551615" (UINT64_MAX) instead of "4294967295" (UINT32_MAX)
Don't forget to update tests/device/crystax-test-stdio2 when it fixed
- Subject changed from printf("%tu", (size_t)-1) produce "18446744073709551615" (UINT64_MAX) on 32-bit platforms, however it should be "4294967295" (UINT32_MAX) to printf("%tu", (size_t)-1) produce wrong string on 32-bit platforms
- Description updated (diff)
- Category set to libcrystax
- Target version set to 10.1.0
- Target version deleted (
10.1.0)
- Priority changed from Low to Normal
- Target version set to 10.3.0
- Target version changed from 10.3.0 to 11.0.0
Also available in: Atom
PDF