ldlinux: Fix compiler warnings in cli.c
authorMatt Fleming <matt.fleming@linux.intel.com>
Wed, 16 Mar 2011 13:18:41 +0000 (13:18 +0000)
committerMatt Fleming <matt.fleming@linux.intel.com>
Wed, 16 Mar 2011 13:18:41 +0000 (13:18 +0000)
commit3664450f21f246cf9ebbdc21bf52eb60b6de890e
tree6aeb3593553c2e53364aa6a9cc8a753e429f6393
parent832aa7c75ba6a885566d708e385140edf5a5df31
ldlinux: Fix compiler warnings in cli.c

Make the compiler happy by casting away the following warnings,

cli.c: In function ‘process_command’:
cli.c:381:2: warning: passing argument 1 of ‘strtok’ discards qualifiers from pointer target type
../../../com32/include/string.h:44:16: note: expected ‘char *’ but argument is of type ‘const char *’
cli.c:400:3: warning: passing argument 2 of ‘spawn_load’ from incompatible pointer type
../../../com32/include/sys/exec.h:43:12: note: expected ‘const char **’ but argument is of type ‘char **’

Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
com32/elflink/ldlinux/cli.c