fix ISO C++11 does not allow conversion from string literal to 'char *'
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
This commit is contained in:
@@ -904,7 +904,7 @@ int main(int argc, char* argv[]) {
|
|||||||
printFileChecksum();
|
printFileChecksum();
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
} else {
|
} else {
|
||||||
argp_help(&aargp, stderr, ARGP_HELP_STD_ERR, "ebuspicloader");
|
argp_help(&aargp, stderr, ARGP_HELP_STD_ERR, const_cast<char*>("ebuspicloader"));
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user