diff options
| author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-02-08 11:18:23 +0530 |
|---|---|---|
| committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-02-08 14:17:17 +0530 |
| commit | 8cbc826c37c0221ada65a7a622fe079b4e89a4b0 (patch) | |
| tree | 598314eb1d2c9bb8da92f7c7f4cc25caf2cc31b4 /string/bits/string2.h | |
| parent | 3f67d1a7021ed3184830511636a0867faec730fe (diff) | |
| download | glibc-8cbc826c37c0221ada65a7a622fe079b4e89a4b0.tar.xz glibc-8cbc826c37c0221ada65a7a622fe079b4e89a4b0.zip | |
Fix getting tunable values on big-endian (BZ #21109)
The code to set value passed a tunable_val_t, which when cast to
int32_t on big-endian gives the wrong value. Instead, use
tunable_val_t.numval instead, which can then be safely cast into
int32_t.
Diffstat (limited to 'string/bits/string2.h')
0 files changed, 0 insertions, 0 deletions
