From 3962eb53b09b9d1edecf4aa9446a3d26eeecafa6 Mon Sep 17 00:00:00 2001 From: Dylan Tuttle Date: Mon, 6 Nov 2023 08:14:17 -0800 Subject: [PATCH] Fix string literal conversion warnings in kca_offsets_generator Fix string literal conversion warnings in kca_offsets_generator Signed-off-by: Dylan Tuttle --- runtime/compiler/ras/kca_offsets_generator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/compiler/ras/kca_offsets_generator.cpp b/runtime/compiler/ras/kca_offsets_generator.cpp index 088a7bc70d3..bc1a1e66324 100644 --- a/runtime/compiler/ras/kca_offsets_generator.cpp +++ b/runtime/compiler/ras/kca_offsets_generator.cpp @@ -47,8 +47,8 @@ #include -char * -J9::Options::kcaOffsets(char *option, void *, TR::OptionTable *entry) +const char * +J9::Options::kcaOffsets(const char *option, void *, TR::OptionTable *entry) { char szFileName[40]; char szCMPRSS[8];