summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2007-11-17 20:42:45 +0900
committerWolfgang Denk <wd@denx.de>2007-11-18 01:22:29 +0100
commit7e14fc65368cbd2861b1207453da55a4fc7b3f81 (patch)
treeadd2a309ca4a859bc4282dd30e68cc654307f621 /board
parent2309c130aa4c84b91bd874a41269c923eb61b555 (diff)
downloadu-boot-imx-7e14fc65368cbd2861b1207453da55a4fc7b3f81.zip
u-boot-imx-7e14fc65368cbd2861b1207453da55a4fc7b3f81.tar.gz
u-boot-imx-7e14fc65368cbd2861b1207453da55a4fc7b3f81.tar.bz2
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')
-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 1593f02..6da80dc 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);
}