aboutsummaryrefslogtreecommitdiff
path: root/board/hymod/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/hymod/env.c')
-rw-r--r--board/hymod/env.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/hymod/env.c b/board/hymod/env.c
index f58aec25709..f9e14213ceb 100644
--- a/board/hymod/env.c
+++ b/board/hymod/env.c
@@ -38,7 +38,7 @@ env_callback (uchar *name, uchar *value)
char ov[CFG_CBSIZE], nv[CFG_CBSIZE], *p, *q, *nn, c, *curver, *newver;
int override = 1, append = 0, remove = 0, nnl, ovl, nvl;
- nn = name;
+ nn = (char *)name;
if (*nn == '-') {
override = 0;
@@ -68,7 +68,7 @@ env_callback (uchar *name, uchar *value)
return (0);
}
- p = value;
+ p = (char *)value;
q = nv;
while ((c = *p) == ' ' || c == '\t')