summaryrefslogtreecommitdiffstats
path: root/src/core/hle/result.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/result.h')
-rw-r--r--src/core/hle/result.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h
index 8a3701151..500ea882c 100644
--- a/src/core/hle/result.h
+++ b/src/core/hle/result.h
@@ -183,7 +183,7 @@ class ResultVal {
public:
/// Constructs an empty `ResultVal` with the given error code. The code must not be a success
/// code.
- ResultVal(ResultCode error_code = ResultCode(-1)) : result_code(error_code) {
+ ResultVal(ResultCode error_code = ResultCode(UINT32_MAX)) : result_code(error_code) {
ASSERT(error_code.IsError());
}