summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_mn.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_mn.c')
-rw-r--r--sys/pci/if_mn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/if_mn.c b/sys/pci/if_mn.c
index 99d03d7..88bb1ac 100644
--- a/sys/pci/if_mn.c
+++ b/sys/pci/if_mn.c
@@ -424,7 +424,7 @@ mn_parse_ts(const char *s)
{
unsigned r;
int i, j;
- const char *p;
+ char *p;
r = 0;
j = 0;
@@ -438,11 +438,11 @@ mn_parse_ts(const char *s)
j = 0;
r |= 1 << i;
if (*p == ',') {
- s = p + 1;
+ s = (const char *)p + 1;
continue;
} else if (*p == '-') {
j = i;
- s = p + 1;
+ s = (const char *)p + 1;
continue;
} else if (!*p) {
break;
OpenPOWER on IntegriCloud