Fix: truncated value in fgetc() usage
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 15 Oct 2015 17:43:06 +0000 (13:43 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Fri, 16 Oct 2015 19:40:34 +0000 (15:40 -0400)
commitbb587d3bb4ffe846199ef4783f16e03248872685
treec47041143794c4d3341a855a75232a7bb34679dd
parent118f5776fcc9e4dc1e79d96d697825bc95174fcb
Fix: truncated value in fgetc() usage

Reported by Coverity Scan:
CID 1327417:  API usage errors  (CHAR_IO)
Assigning the return value of "fgetc" to char "c" truncates
its value.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/babeltrace/compat/stdio.h
This page took 0.024848 seconds and 4 git commands to generate.