Project

General

Profile

Actions

Bug #815

open

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

Added by Dmitry M. over 9 years ago. Updated over 8 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 NDK Version:

Description

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

Actions #1

Updated by Dmitry M. over 9 years ago

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

Actions #2

Updated by Dmitry M. over 9 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
Actions #3

Updated by Dmitry M. over 9 years ago

  • Target version set to 10.1.0
Actions #4

Updated by Dmitry M. over 9 years ago

  • Target version deleted (10.1.0)
Actions #5

Updated by Dmitry M. over 9 years ago

  • Priority changed from Low to Normal
Actions #6

Updated by Dmitry M. almost 9 years ago

  • Target version set to 10.3.0
Actions #7

Updated by Dmitry M. over 8 years ago

  • Target version changed from 10.3.0 to 11.0.0
Actions

Also available in: Atom PDF