diff options
| author | Tobias Brunner <tobias@strongswan.org> | 2016-06-17 10:22:25 +0200 |
|---|---|---|
| committer | Tobias Brunner <tobias@strongswan.org> | 2016-06-17 10:22:25 +0200 |
| commit | 5947d48fb94cfb77b6d49a78d6a56dc875575713 (patch) | |
| tree | 01791757dc9d88541d6fb8ec25f82aae46e50942 /src/libcharon/plugins/sql/sql_plugin.h | |
| parent | 67b9e151fa4497ff6670ba10d007381ed4880690 (diff) | |
| download | strongswan-5947d48fb94cfb77b6d49a78d6a56dc875575713.tar.bz2 strongswan-5947d48fb94cfb77b6d49a78d6a56dc875575713.tar.xz | |
load-tester: Fix load-tester on platforms where plain `char` is signed
fgetc() returns an int and EOF is usually -1 so when this gets casted to
a char the result depends on whether `char` means `signed char` or
`unsigned char` (the C standard does not specify it). If it is unsigned
then its value is 0xff so the comparison with EOF will fail as that is an
implicit signed int.
Diffstat (limited to 'src/libcharon/plugins/sql/sql_plugin.h')
0 files changed, 0 insertions, 0 deletions
