# Plain integer types

**URL:** <https://forums.freertos.org/t/plain-integer-types/56>\
**Category:** Kernel\
**Created:** [September 4, 2012, 12:52pm UTC](https://forums.freertos.org/t/plain-integer-types/56 "2012-09-04T12:52:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [September 4, 2012, 12:52pm UTC](https://forums.freertos.org/t/plain-integer-types/56/1 "2012-09-04T12:52:12Z")

</div>

**[sergioprado](https://sourceforge.net/u/sergioprado/)** wrote on [Tuesday, September 04, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/02689821/#e659):

Hello all,

Why we should not use plain integer types (int) on FreeRTOS based applications, as specified on FreeRTOS Coding Standard and Style Guide?

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [September 4, 2012, 12:59pm UTC](https://forums.freertos.org/t/plain-integer-types/56/2 "2012-09-04T12:59:01Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Tuesday, September 04, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/02689821/#2f28):

This is common practice for most coding standards because sizeof( int ) is different for different targets.&nbsp; This is especially true for a something like FreeRTOS, where 31 architectures are supported spanning 8, 16, 20, 24 and 32 bits.

Regards.
