Commit a9080f7
authored
Fixed narrowing conversion issues. (sonic-net#3395)
What I did
Fixed 3 narrowing conversion issues in the code.
Why I did it
g++ 9.4.0 and 10.5.0 both reported compile errors when trying to compile aclorch.cpp using -Werror and -Wconversion flags.1 parent 98303af commit a9080f7
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5938 | 5938 | | |
5939 | 5939 | | |
5940 | 5940 | | |
5941 | | - | |
| 5941 | + | |
5942 | 5942 | | |
5943 | 5943 | | |
5944 | 5944 | | |
| |||
5962 | 5962 | | |
5963 | 5963 | | |
5964 | 5964 | | |
5965 | | - | |
| 5965 | + | |
5966 | 5966 | | |
5967 | 5967 | | |
5968 | 5968 | | |
| |||
5975 | 5975 | | |
5976 | 5976 | | |
5977 | 5977 | | |
5978 | | - | |
| 5978 | + | |
5979 | 5979 | | |
5980 | 5980 | | |
5981 | 5981 | | |
| |||
0 commit comments