Fix clang compilation on aarch64: sizeof operator error. 96/12796/3
authorSirshak Das <sirshak.das@arm.com>
Wed, 30 May 2018 02:13:21 +0000 (21:13 -0500)
committerDamjan Marion <dmarion.lists@gmail.com>
Wed, 30 May 2018 09:18:18 +0000 (09:18 +0000)
commitb0861820b92ede0f2022151c275458eb1b702e6d
treee3966b58b9a1871c77725910188539258ce0df5e
parent6495c4b8a11f231f099ce96e4538e1f82ce51793
Fix clang compilation on aarch64: sizeof operator error.

Fixes clang error: argument to 'sizeof' in 'memcpy' call is the same
pointer type 'unformat_input_t *' (aka 'struct _unformat_input_t *')
as the source; expected 'unformat_input_t' (aka 'struct
_unformat_input_t') or an explicit length.

Change-Id: If00303343b10fe1732e477549727a41445edf410
Signed-off-by: Sirshak Das <sirshak.das@arm.com>
Reviewed-by: Brian Brooks <brian.brooks@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
src/vat/api_format.c