From e665c0a3fb20e4adaac3c065cb8c2012d0e1b85e Mon Sep 17 00:00:00 2001 From: gibbed Date: Mon, 28 May 2018 14:42:53 -0500 Subject: [PATCH] Fix another Travis complaint. --- src/xenia/kernel/xam/xam_user.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xenia/kernel/xam/xam_user.cc b/src/xenia/kernel/xam/xam_user.cc index ca7eb8b65..4a15d3662 100644 --- a/src/xenia/kernel/xam/xam_user.cc +++ b/src/xenia/kernel/xam/xam_user.cc @@ -117,7 +117,8 @@ dword_result_t XamUserReadProfileSettings( dword_t title_id, dword_t user_index, dword_t unk_0, dword_t unk_1, dword_t setting_count, lpdword_t setting_ids, lpdword_t buffer_size_ptr, lpvoid_t buffer_ptr, dword_t overlapped_ptr) { - uint32_t buffer_size = !buffer_size_ptr ? 0 : *buffer_size_ptr; + uint32_t buffer_size = + !buffer_size_ptr ? 0u : static_cast(*buffer_size_ptr); assert_zero(unk_0); assert_zero(unk_1);