Skip to content

Commit

Permalink
Fix string literal conversion warnings in compiler/control
Browse files Browse the repository at this point in the history
Fix string literal conversion warnings in compiler/control

Signed-off-by: Dylan Tuttle <jdylantuttle@gmail.com>
  • Loading branch information
dylanjtuttle committed Dec 11, 2023
1 parent 3e551ee commit caa4316
Show file tree
Hide file tree
Showing 4 changed files with 239 additions and 231 deletions.
2 changes: 1 addition & 1 deletion compiler/control/CompileMethod.cpp
Expand Up @@ -190,7 +190,7 @@ int32_t init_options(TR::JitConfig *jitConfig, char *cmdLineOptions)
if (*cmdLineOptions == ':') cmdLineOptions++; // also skip :
}

char *endOptions = TR::Options::processOptionsJIT(cmdLineOptions, jitConfig, fe);
const char *endOptions = TR::Options::processOptionsJIT(cmdLineOptions, jitConfig, fe);
if (*endOptions)
{
fprintf(stderr, "JIT: fatal error: invalid command line at %s\n", endOptions);
Expand Down

0 comments on commit caa4316

Please sign in to comment.