GTA04 U-Boot

GTA04 U-Boot Commit Details

Date:2007-11-17 12:42:45 (5 years 6 months ago)
Author:Shinya Kuribayashi
Branch:gta04
Commit:7e14fc65368cbd2861b1207453da55a4fc7b3f81
Parents: 2309c130aa4c84b91bd874a41269c923eb61b555
Message: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>
Changes:
Mboard/gth2/gth2.c (1 diff)

File differences

board/gth2/gth2.c
431431
432432
433433
434
434
435435
436436
437437
(Rx[8] != ':') | (Rx[11] != ':') | (Rx[14] != ':')) {
printf ("*** ethernet addr invalid, using default ***\n");
} else {
setenv ("ethaddr", Rx);
setenv ("ethaddr", (char *)Rx);
}
return (0);
}

Archive Download the corresponding diff file

Branches

Tags