projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Assign more suitable types and fix narrowing conversion warns.
[tinc]
/
src
/
solaris
/
device.c
diff --git
a/src/solaris/device.c
b/src/solaris/device.c
index
f27954b
..
d1e114a
100644
(file)
--- a/
src/solaris/device.c
+++ b/
src/solaris/device.c
@@
-104,7
+104,7
@@
static bool setup_device(void) {
char *ptr = device;
get_config_string(lookup_config(config_tree, "Interface"), &ptr);
- while(*ptr && !isdigit(*ptr)) {
+ while(*ptr && !isdigit(
(uint8_t)
*ptr)) {
ptr++;
}