From 7c699be734bd67a68bf7813cb30795c05ebf45b3 Mon Sep 17 00:00:00 2001 From: Steffen Pankratz Date: Sat, 20 Mar 2021 22:48:38 +0100 Subject: [PATCH] fix ISO C++11 does not allow conversion from string literal to 'char *' Signed-off-by: Steffen Pankratz --- src/tools/ebuspicloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/ebuspicloader.cpp b/src/tools/ebuspicloader.cpp index 1bb7c3bdf..4c3f2a639 100644 --- a/src/tools/ebuspicloader.cpp +++ b/src/tools/ebuspicloader.cpp @@ -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("ebuspicloader")); exit(EXIT_FAILURE); } }