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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 15 Oct 2015 17:43:06 +0000 (13:43 -0400)
commit12a08de42038eca02095b93b74cb9e2313986876
tree3cb3d61ba384da0ccfdcedc8da7d0432a2db512b
parentd9548894df258a8984385470c9c251c99329e01c
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.024451 seconds and 4 git commands to generate.