diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-06-24 08:04:42 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-06-24 08:04:42 +0000 |
commit | dcc0b2447ee35addf2688c07bf6a5f984d043344 (patch) | |
tree | fb483909f4ba75611b88391a452bd13379a70de4 /tun.c | |
parent | -r 1026:1032 (diff) | |
download | openvpn-dcc0b2447ee35addf2688c07bf6a5f984d043344.tar.xz |
Eliminated gcc 3.3.3 warnings on NetBSD
when ./configure --enable-strict is used.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1040 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'tun.c')
-rw-r--r-- | tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -942,7 +942,7 @@ open_tun_generic (const char *dev, const char *dev_type, const char *dev_node, * explicit unit number. Try opening /dev/[dev]n * where n = [0, 255]. */ - if (dynamic && !has_digit(dev)) + if (dynamic && !has_digit((unsigned char *)dev)) { int i; for (i = 0; i < 256; ++i) |