Project

General

Profile

Bug #815

printf("%tu", (size_t)-1) produce wrong string on 32-bit platforms

Added by Dmitry Moskalchuk over 4 years ago. Updated almost 4 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Category:
libcrystax
Target version:
Start date:
12/26/2014
Due date:
% Done:

0%

Estimated time:
CPU Architecture:
arm, mips, x86
Host OS:
Toolchain:
Android version:
CrystaX Version:

Description

It produce "18446744073709551615" (UINT64_MAX) instead of "4294967295" (UINT32_MAX)

History

#1

Updated by Dmitry Moskalchuk over 4 years ago

Don't forget to update tests/device/crystax-test-stdio2 when it fixed

#2

Updated by Dmitry Moskalchuk over 4 years ago

  • 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
#3

Updated by Dmitry Moskalchuk over 4 years ago

  • Target version set to 10.1.0
#4

Updated by Dmitry Moskalchuk over 4 years ago

  • Target version deleted (10.1.0)
#5

Updated by Dmitry Moskalchuk over 4 years ago

  • Priority changed from Low to Normal
#6

Updated by Dmitry Moskalchuk over 4 years ago

  • Target version set to 10.3.0
#7

Updated by Dmitry Moskalchuk almost 4 years ago

  • Target version changed from 10.3.0 to 11.0.0

Also available in: Atom PDF