summaryrefslogtreecommitdiff
path: root/util/comm-lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/comm-lpc.c')
-rw-r--r--util/comm-lpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/comm-lpc.c b/util/comm-lpc.c
index 54f16b3ffc..16269f388c 100644
--- a/util/comm-lpc.c
+++ b/util/comm-lpc.c
@@ -225,7 +225,7 @@ static int ec_command_lpc_3(int command, int version,
static int ec_readmem_lpc(int offset, int bytes, void *dest)
{
int i = offset;
- char *s = dest;
+ char *s = (char *)(dest);
int cnt = 0;
if (offset >= EC_MEMMAP_SIZE - bytes)