diff --git a/projects/clr/hipamd/src/hiprtc/hiprtcInternal.cpp b/projects/clr/hipamd/src/hiprtc/hiprtcInternal.cpp index f1d6d2ab2c..73c829bc00 100644 --- a/projects/clr/hipamd/src/hiprtc/hiprtcInternal.cpp +++ b/projects/clr/hipamd/src/hiprtc/hiprtcInternal.cpp @@ -385,13 +385,13 @@ bool RTCLinkProgram::AddLinkerOptions(unsigned int num_options, hiprtcJIT_option link_args_.info_log_ = (reinterpret_cast(options_vals_ptr[opt_idx])); break; case HIPRTC_JIT_INFO_LOG_BUFFER_SIZE_BYTES: - link_args_.info_log_size_ = *(reinterpret_cast(options_vals_ptr[opt_idx])); + link_args_.info_log_size_ = (reinterpret_cast(options_vals_ptr[opt_idx])); break; case HIPRTC_JIT_ERROR_LOG_BUFFER: link_args_.error_log_ = reinterpret_cast(options_vals_ptr[opt_idx]); break; case HIPRTC_JIT_ERROR_LOG_BUFFER_SIZE_BYTES: - link_args_.error_log_size_ = *(reinterpret_cast(options_vals_ptr[opt_idx])); + link_args_.error_log_size_ = (reinterpret_cast(options_vals_ptr[opt_idx])); break; case HIPRTC_JIT_OPTIMIZATION_LEVEL: link_args_.optimization_level_