summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-04-23 14:42:58 +0200
committerGedare Bloom <gedare@rtems.org>2018-01-11 12:13:32 -0500
commit17fa7d616025cce6845ad00919be5c00a66002ae (patch)
treea3cc45f12fcf5925ec5499144d1b22bf6b0e2c12 /cpukit/pppd
parentnetwork/bootp: PR2031: Add and use header file (diff)
downloadrtems-17fa7d616025cce6845ad00919be5c00a66002ae.tar.bz2
librpc: PR2066: Fix for short enums
The XDR library has a problem on architectures with short enums like the default ARM EABI. Short enums means that the size of the enum type is variable and the smallest integer type to hold all enum values will be selected. For many enums this is char. The XDR library uses int32_t for enum_t. There are several evil casts from an enum type to enum_t which leads to invalid memory accesses on short enum architectures. A workaround is to add appropriate dummy enum values.
Diffstat (limited to 'cpukit/pppd')
0 files changed, 0 insertions, 0 deletions