diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-01-25 17:13:36 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-01-25 17:20:25 -0500 |
| commit | c2e3bd8d2fc7597dcd3179061bfad95b68871b59 (patch) | |
| tree | 857d2a6edc3dfbe8272d0222d96ec84b6ffb0198 /Source | |
| parent | 992b7f7ac0572513fbaa144f255bce0b147d520a (diff) | |
DSPAssembler: Amend printf specifiers in ShowError
code_line is a u32.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/DSP/DSPAssembler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Core/DSP/DSPAssembler.cpp b/Source/Core/Core/DSP/DSPAssembler.cpp index c20908cfe3..1a9d9aece5 100644 --- a/Source/Core/Core/DSP/DSPAssembler.cpp +++ b/Source/Core/Core/DSP/DSPAssembler.cpp @@ -93,18 +93,18 @@ void DSPAssembler::ShowError(err_t err_code, const char* extra_info) if (!settings_.force) failed = true; - std::string error = StringFromFormat("%i : %s ", code_line, cur_line.c_str()); + std::string error = StringFromFormat("%u : %s ", code_line, cur_line.c_str()); if (!extra_info) extra_info = "-"; if (m_current_param == 0) { error += - StringFromFormat("ERROR: %s Line: %d : %s\n", err_string[err_code], code_line, extra_info); + StringFromFormat("ERROR: %s Line: %u : %s\n", err_string[err_code], code_line, extra_info); } else { - error += StringFromFormat("ERROR: %s Line: %d Param: %d : %s\n", err_string[err_code], + error += StringFromFormat("ERROR: %s Line: %u Param: %d : %s\n", err_string[err_code], code_line, m_current_param, extra_info); } |
