board_serial: use a uint8_t buffer

we should not be using 'char' for binary APIs, as the C standard does
not specify if it is signed or unsigned, so results may not be
consistent
This commit is contained in:
Andrew Tridgell
2014-07-08 11:39:40 +02:00
committed by Lorenz Meier
parent 0d0c4c3626
commit 37b4cdfce2
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ struct otp_lock {
#pragma pack(push, 1)
union udid {
uint32_t serial[3];
char data[12];
uint8_t data[12];
};
#pragma pack(pop)