aboutsummaryrefslogtreecommitdiff
path: root/tun.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tun.c b/tun.c
index 971b2ce..d2cf0de 100644
--- a/tun.c
+++ b/tun.c
@@ -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)