projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup for GCC-4.x
[oweals/u-boot.git]
/
common
/
cmd_spi.c
diff --git
a/common/cmd_spi.c
b/common/cmd_spi.c
index 7b6faf79c5a3d3863b47623e9436192b9e08a048..a6fdf7fddbd0924e7d10c0a9171df35ec88b98c9 100644
(file)
--- a/
common/cmd_spi.c
+++ b/
common/cmd_spi.c
@@
-119,7
+119,7
@@
int do_spi (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
printf("Error with the SPI transaction.\n");
rcode = 1;
} else {
- cp = din;
+ cp =
(char *)
din;
for(j = 0; j < ((bitlen + 7) / 8); j++) {
printf("%02X", *cp++);
}