mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 13:35:28 +00:00
Fix the build of key_ladder_demo under Clang
Clang -Wall -Wincompatible-pointer-types-discards-qualifiers said: thou shalt not put a string literal in a non-const char*.
This commit is contained in:
parent
451e24c1d8
commit
738f017c12
|
@ -620,9 +620,9 @@ static void usage( void )
|
||||||
|
|
||||||
int main( int argc, char *argv[] )
|
int main( int argc, char *argv[] )
|
||||||
{
|
{
|
||||||
char *key_file_name = "master.key";
|
const char *key_file_name = "master.key";
|
||||||
char *input_file_name = NULL;
|
const char *input_file_name = NULL;
|
||||||
char *output_file_name = NULL;
|
const char *output_file_name = NULL;
|
||||||
const char *ladder[MAX_LADDER_DEPTH];
|
const char *ladder[MAX_LADDER_DEPTH];
|
||||||
size_t ladder_depth = 0;
|
size_t ladder_depth = 0;
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in a new issue