diff options
author | csilvers <csilvers@01de4be4-8c4a-0410-9132-4925637da917> | 2008-05-14 07:28:02 +0000 |
---|---|---|
committer | csilvers <csilvers@01de4be4-8c4a-0410-9132-4925637da917> | 2008-05-14 07:28:02 +0000 |
commit | c592828a44571badf5e1279a61e7461655b08b70 (patch) | |
tree | 02955517f402d33727991ca74989b258fe570efc /pump.in | |
parent | ba3c5519929f6f5b9e6f7137a6a630a1c53648d4 (diff) | |
download | distcc-c592828a44571badf5e1279a61e7461655b08b70.tar.gz |
getc returns an int, not a char. We're checking whether a char ==
EOF, which isn't kosher, and on systems where -funsigned-char is true,
dangerous. Change the type of the var to an int.
Tested by running on linux (ubuntu) and on linux ppc (debian), the
latter of which complained at compile time.
Reviewed by fergus@google.com
git-svn-id: http://distcc.googlecode.com/svn/trunk@234 01de4be4-8c4a-0410-9132-4925637da917
Diffstat (limited to 'pump.in')
0 files changed, 0 insertions, 0 deletions