projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fbd074
)
[MIPS] gth2.c: Fix a warning on gth2 build.
author
Shinya Kuribayashi
<skuribay@ruby.dti.ne.jp>
Sat, 17 Nov 2007 11:05:20 +0000
(20:05 +0900)
committer
Shinya Kuribayashi
<skuribay@ruby.dti.ne.jp>
Sat, 17 Nov 2007 11:05:20 +0000
(20:05 +0900)
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>
board/gth2/gth2.c
patch
|
blob
|
history
diff --git
a/board/gth2/gth2.c
b/board/gth2/gth2.c
index 1593f02109a6afc9d0aac375191c464ea17388a6..6da80dc758dc851e6cd13497a11b0ef266ae6688 100644
(file)
--- 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);
}