SPRUIG5E January 2018 – March 2023 TDA4VM , TDA4VM-Q1
The long
type on C7000 is 64 bits
and corresponds to the LP64 model.
The long
type on C6000 is 32
bits.
We recommend that your code use the C standard
integer types int64_t
and int32_t
(et al.) when
specific data type sizes are needed for portability across different machines and
compilers. These standard integer types are defined in stdint.h
,
which is included as part of the C standard library support included the Runtime
Support Library.
(The int
type is 32 bits on both
C6000 and C7000.)