diff --git a/include/shell/shell_history.h b/include/shell/shell_history.h index ff9c2a46a6b..67337d50117 100644 --- a/include/shell/shell_history.h +++ b/include/shell/shell_history.h @@ -31,7 +31,7 @@ struct shell_history { * @param _size Memory dedicated for shell history. */ #define SHELL_HISTORY_DEFINE(_name, _size) \ - static u8_t __noinit __aligned(sizeof(u32_t)) \ + static u8_t __noinit __aligned(sizeof(void *)) \ _name##_ring_buf_data[_size]; \ static struct ring_buf _name##_ring_buf = \ { \