Add casts to avoid build warnings with gcc-4.7

Example:
keystore.cpp:1339:35: error: narrowing conversion of 'CommandCodes[0]'
from 'command_code_t {aka unsigned char}' to 'int8_t {aka signed char}'

Change-Id: I8cd239880821724050d1716b78851807e0246ef2
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2 files changed
tree: eb4ea1a7cdebbdfd4b7af98a51863b05db1de539
  1. keystore/
  2. keystore-engine/
  3. softkeymaster/