Skip to content

Commit

Permalink
fix ISO C++11 does not allow conversion from string literal to 'char *'
Browse files Browse the repository at this point in the history
Signed-off-by: Steffen Pankratz <[email protected]>
  • Loading branch information
kratz00 committed Apr 12, 2021
1 parent 676c330 commit 7c699be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/ebuspicloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ int main(int argc, char* argv[]) {
printFileChecksum();
exit(EXIT_SUCCESS);
} 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);
}
}
Expand Down

0 comments on commit 7c699be

Please sign in to comment.