aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/linear
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-07-26 09:50:32 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-08-06 17:43:37 +0200
commite3a5d3631fc2ba949fa5ba3c6d7b02387da2cf32 (patch)
tree60494207306006384702f5ecc69d7ceedf662949 /validation/linear
parentdb491ea79222ddaecc1d3c976bf76dc84e169405 (diff)
downloadsparse-dev-e3a5d3631fc2ba949fa5ba3c6d7b02387da2cf32.tar.gz
cast: fix warning position in cast_pseudo()
The function cast_pseudo() can issues warnings about non size-preserving integer <-> pointer casts. The file:line:column position of these warnings is taken from the destination type but this position is the one where the type is declared (or where the symbol associated with this type is defined) which may or may not be related to the position of the cast. Fix this by using the current position instead (which should hold the position of the cast). Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/linear')
0 files changed, 0 insertions, 0 deletions