aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/sql/sql_plugin.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-06-17 10:22:25 +0200
committerTobias Brunner <tobias@strongswan.org>2016-06-17 10:22:25 +0200
commit5947d48fb94cfb77b6d49a78d6a56dc875575713 (patch)
tree01791757dc9d88541d6fb8ec25f82aae46e50942 /src/libcharon/plugins/sql/sql_plugin.h
parent67b9e151fa4497ff6670ba10d007381ed4880690 (diff)
downloadstrongswan-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