Commit 5a7c2dd
committed
SteamNetworkingIPAddr: fix potentially dangerous
C-style cast from `uint8*` to `uint64*` is unsafe and can blow up
in cases when the source pointer is not aligned to `uint64` type
requirements.
Signed-off-by: Pavel Solodovnikov <pavel.al.solodovnikov@gmail.com>-wcast-align warning in IsIPv6AllZeroes()
1 parent 6223714 commit 5a7c2dd
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1893 | 1893 | | |
1894 | 1894 | | |
1895 | 1895 | | |
1896 | | - | |
| 1896 | + | |
1897 | 1897 | | |
1898 | 1898 | | |
1899 | 1899 | | |
| |||
0 commit comments