Interface: Fix argument 'type' extracting issue

The 32-bit argument 'type' contains an 'int16_t' number. When extracting
this number into an 'int32_t' container, a pre-typecast to 'int16_t' is
necessary to claim the 16 bits is representing a SIGNED value.

Signed-off-by: Jianliang Shen <jianliang.shen@arm.com>
Change-Id: I7c6fdd3bdbfca927027038be073e03cadb4d3cc9
1 file changed