summaryrefslogtreecommitdiffstats
path: root/board/pn62/pn62.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/pn62/pn62.c')
-rw-r--r--board/pn62/pn62.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/pn62/pn62.c b/board/pn62/pn62.c
index 025224027e..377aaa8bca 100644
--- 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;
OpenPOWER on IntegriCloud