QuRT: fixed print of INT32_t type

In QuRT, this is a long but the variable was being printed with "%d"

Need to cast variable as long and use "%ld"

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois 2015-05-19 11:10:06 -07:00
parent ce96329f95
commit 60080dd9e7
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ do_show_index(const char *index, bool used_index)
switch (param_type(param)) {
case PARAM_TYPE_INT32:
if (!param_get(param, &ii)) {
printf("%d\n", ii);
printf("%ld\n", (long)ii);
}
break;