mirror of https://github.com/ARMmbed/mbed-os.git
add casting to increased void pointer
parent
116e14ade6
commit
83d084afef
|
@ -848,7 +848,7 @@ attest_create_token(struct useful_buf_c *challenge,
|
||||||
/* FixMe: Special challenge with option flags appended. This might can
|
/* FixMe: Special challenge with option flags appended. This might can
|
||||||
* be removed when the public API can take option_flags.
|
* be removed when the public API can take option_flags.
|
||||||
*/
|
*/
|
||||||
option_flags = *(uint32_t *)(challenge->ptr + 32);
|
option_flags = *(uint32_t *)((uint8_t*)challenge->ptr + 32);
|
||||||
challenge->len = 32;
|
challenge->len = 32;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue