C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2305 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
be1ab108f3
commit
b54f4c5cb6
|
@ -295,7 +295,7 @@ int arm966e_handle_cp15_command(struct command_context_s *cmd_ctx, char *cmd, ch
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
command_print(cmd_ctx, "%i: %8.8x", address, value);
|
command_print(cmd_ctx, "%i: %8.8" PRIx32 "", address, value);
|
||||||
}
|
}
|
||||||
else if (argc == 2)
|
else if (argc == 2)
|
||||||
{
|
{
|
||||||
|
@ -305,7 +305,7 @@ int arm966e_handle_cp15_command(struct command_context_s *cmd_ctx, char *cmd, ch
|
||||||
command_print(cmd_ctx, "couldn't access reg %i", address);
|
command_print(cmd_ctx, "couldn't access reg %i", address);
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
command_print(cmd_ctx, "%i: %8.8x", address, value);
|
command_print(cmd_ctx, "%i: %8.8" PRIx32 "", address, value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue