diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-07-26 09:50:32 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-08-06 17:43:37 +0200 |
| commit | e3a5d3631fc2ba949fa5ba3c6d7b02387da2cf32 (patch) | |
| tree | 60494207306006384702f5ecc69d7ceedf662949 /validation/linear | |
| parent | db491ea79222ddaecc1d3c976bf76dc84e169405 (diff) | |
| download | sparse-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
