summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-03-22 16:45:05 +1030
committerAndrew Jeffery <andrew@aj.id.au>2018-04-04 07:56:22 +0000
commit738c1cd6ad7ffa74f7decc736fe56b2cc2319143 (patch)
treee3ba9b327c31f2636d2cd64592993536e9af20c5
parent1a3f843cb202a6f77b513eff37283afbb4064202 (diff)
downloadphosphor-mboxd-738c1cd6ad7ffa74f7decc736fe56b2cc2319143.zip
phosphor-mboxd-738c1cd6ad7ffa74f7decc736fe56b2cc2319143.tar.gz
mboxd_msg: Make raw bytes a uint8_t for sanity
Remove the ambiguity of signed/unsigned char. Change-Id: I979d1907f7be08a9413770839909a30f4640701a Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-rw-r--r--mboxd_msg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mboxd_msg.h b/mboxd_msg.h
index 6ef6b27..94ac13a 100644
--- a/mboxd_msg.h
+++ b/mboxd_msg.h
@@ -20,7 +20,7 @@ struct mbox_msg {
};
union mbox_regs {
- char raw[MBOX_REG_BYTES];
+ uint8_t raw[MBOX_REG_BYTES];
struct mbox_msg msg;
};
OpenPOWER on IntegriCloud