From 123444078f14076c0647deec51cc42c505e640b0 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Sun, 12 Jan 2014 13:52:50 -0800 Subject: [PATCH] Fixing warning. --- src/xenia/kernel/xboxkrnl_rtl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/kernel/xboxkrnl_rtl.cc b/src/xenia/kernel/xboxkrnl_rtl.cc index d472ebb26..7d4c153ae 100644 --- a/src/xenia/kernel/xboxkrnl_rtl.cc +++ b/src/xenia/kernel/xboxkrnl_rtl.cc @@ -365,7 +365,7 @@ SHIM_CALL RtlMultiByteToUnicodeN_shim( auto source = (uint8_t*)SHIM_MEM_ADDR(source_ptr); auto destination = (uint16_t*)SHIM_MEM_ADDR(destination_ptr); - for (int i = 0; i < copy_len; i++) + for (uint32_t i = 0; i < copy_len; i++) { *destination++ = XESWAP16(*source++); }