summaryrefslogtreecommitdiffstats
path: root/helpers.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-10-19 07:54:27 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-10-19 07:54:27 +0000
commitff9e6c32c37e685f25e5ba09611e6e7d1a556bd8 (patch)
tree166d12b4f4831f114d046692dd712f7e96e40882 /helpers.c
parent73f5bda01dbb1f6726593ab7a6139a1a8a1afb5a (diff)
downloadast2050-flashrom-ff9e6c32c37e685f25e5ba09611e6e7d1a556bd8.zip
ast2050-flashrom-ff9e6c32c37e685f25e5ba09611e6e7d1a556bd8.tar.gz
dmi.c: make sure we call isprint() correctly
ISO C and POSIX require to call ctype functions with values representable by unsigned char. We have used a char as input so far which might be negative and hence get sign-extended. Corresponding to flashrom svn r1852. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'helpers.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud