diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2022-05-10 00:16:30 +0300 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-10 00:16:30 +0300 | 
| commit | 2a3807c3cec0c37461d94c447d0997027af1c5a0 (patch) | |
| tree | d3f12bc4a5d5da573fb3d80bcf9ba0337d8c2ee8 /isisd | |
| parent | 0c8d3bd3c37539f8574802ddac0484193076dc3e (diff) | |
| parent | 8998807f699d70be3ac137094550533226f32db8 (diff) | |
Merge pull request #11163 from opensourcerouting/fix/same_type_casting
*: Avoid casting to the same type as on the left
Diffstat (limited to 'isisd')
| -rw-r--r-- | isisd/isis_spf.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c index 10ba6a35bb..49c62d2cf5 100644 --- a/isisd/isis_spf.c +++ b/isisd/isis_spf.c @@ -706,7 +706,7 @@ static void process_N(struct isis_spftree *spftree, enum vertextype vtype,  	if (vtype >= VTYPE_IPREACH_INTERNAL) {  		memcpy(&p, id, sizeof(p));  		apply_mask(&p.dest); -		apply_mask((struct prefix *)&p.src); +		apply_mask(&p.src);  		id = &p;  	}  | 
