mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
tests: fix -Wwrite-strings
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
5b60f5104f
commit
44c9b73801
2 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@ static void checkfail(const char *fmt)
|
|||
* \param expected_size The size (in bytes) that we expect (ignored for
|
||||
* strings)
|
||||
*/
|
||||
static void check_sizes(char *modifier, int expected_size)
|
||||
static void check_sizes(const char *modifier, int expected_size)
|
||||
{
|
||||
char fmt[10], *ptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue