summaryrefslogtreecommitdiff
path: root/board/gth2
diff options
context:
space:
mode:
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2007-11-17 20:05:20 +0900
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2007-11-17 20:05:20 +0900
commitf5e429d3860bba4c6ae8bead8f78349fa24491b2 (patch)
treeede7eea9d0538bc1cd2a8762bc50ba877a091359 /board/gth2
parent4fbd0741b2b6441da10be93e10267122581b7079 (diff)
[MIPS] gth2.c: Fix a warning on gth2 build.
gth2.c: In function 'misc_init_r': gth2.c:434: warning: pointer targets in passing argument 2 of 'setenv' differ in signedness Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Diffstat (limited to 'board/gth2')
-rw-r--r--board/gth2/gth2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gth2/gth2.c b/board/gth2/gth2.c
index 1593f02109a..6da80dc758d 100644
--- a/board/gth2/gth2.c
+++ b/board/gth2/gth2.c
@@ -431,7 +431,7 @@ int misc_init_r(void){
(Rx[8] != ':') | (Rx[11] != ':') | (Rx[14] != ':')) {
printf ("*** ethernet addr invalid, using default ***\n");
} else {
- setenv ("ethaddr", Rx);
+ setenv ("ethaddr", (char *)Rx);
}
return (0);
}