diff --git a/hipamd/src/hiprtc/hiprtcInternal.cpp b/hipamd/src/hiprtc/hiprtcInternal.cpp index a218060db3..217a0d8849 100644 --- a/hipamd/src/hiprtc/hiprtcInternal.cpp +++ b/hipamd/src/hiprtc/hiprtcInternal.cpp @@ -486,7 +486,7 @@ bool RTCLinkProgram::AddLinkerOptions(unsigned int num_options, hiprtcJIT_option link_args_.generate_debug_info_ = *(reinterpret_cast(options_vals_ptr[opt_idx])); break; case HIPRTC_JIT_LOG_VERBOSE: - link_args_.log_verbose_ = *(reinterpret_cast(options_vals_ptr[opt_idx])); + link_args_.log_verbose_ = reinterpret_cast(options_vals_ptr[opt_idx]); break; case HIPRTC_JIT_GENERATE_LINE_INFO: link_args_.generate_line_info_ = *(reinterpret_cast(options_vals_ptr[opt_idx]));