forked from OpenVPN/openvpn3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TunBuilderCapture: avoid -Wconversion warning for prefix_length
For some reason RouteBase uses unsigned char for prefix_length while all other code uses int or unsigned int. For now just cast it, prefix_length should be <= 128 anyway. Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
- Loading branch information
1 parent
40d987f
commit 73624b8
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters