diff options
Diffstat (limited to 'utils/sb_gcc_wrapper.cc')
-rw-r--r-- | utils/sb_gcc_wrapper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/sb_gcc_wrapper.cc b/utils/sb_gcc_wrapper.cc index aa08ba9..da8ecb5 100644 --- a/utils/sb_gcc_wrapper.cc +++ b/utils/sb_gcc_wrapper.cc @@ -203,7 +203,7 @@ static Program *detect_program(const char *const name, const Group group) static const Program &detect_program(const char *const absname) { // GNU basename never modifies its argument - const char *const name = basename(absname); + const char *const name = basename((char *)absname); const Program *prog; if ((prog = detect_program(name, compilers)) || |