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]
/
board
/
pn62
/
pn62.c
diff --git
a/board/pn62/pn62.c
b/board/pn62/pn62.c
index 025224027e8edc2fc997c076230dd13ecd1bfe05..377aaa8bca3a48dda99a4a98413ba35931e1df66 100644
(file)
--- a/
board/pn62/pn62.c
+++ b/
board/pn62/pn62.c
@@
-167,7
+167,7
@@
static int get_serial_number (char *string, int size)
if (size < I2155X_VPD_SN_SIZE)
size = I2155X_VPD_SN_SIZE;
for (i = 0; i < (size - 1); i++) {
- i2155x_read_vpd (I2155X_VPD_SN_START + i, 1, &c);
+ i2155x_read_vpd (I2155X_VPD_SN_START + i, 1,
(uchar *)
&c);
if (c == '\0')
break;
string[i] = c;