aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-10-01 23:24:37 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-11-30 14:05:03 +0100
commit4ce42ee56d9207ef831f76104fa248fa0fddb326 (patch)
treefcc68584573fbc0b8ffd6d32131db741caec8317 /validation
parent600bc3b599fe3488e31a044f45939f9b52d7f7d3 (diff)
downloadsparse-dev-4ce42ee56d9207ef831f76104fa248fa0fddb326.tar.gz
bitfield: don't warn twice on invalid width
At parsing time, bitfields with invalid width have their size set to -1 but at examination time this size is interpreted as an unsigned value, causing a second warning. Fix this by avoiding to cast the size to an unsigned variable. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation')
0 files changed, 0 insertions, 0 deletions