foxygit / fake-08-xbox360 Log in
commit bf64053c8ed911b40b13a036c0663f7ae0a3dca4
Author:     jtothebell <j.to.the.bell@gmail.com>
AuthorDate: Wed Apr 13 21:19:32 2022 -0600
Commit:     jtothebell <j.to.the.bell@gmail.com>
CommitDate: Wed Apr 13 21:19:32 2022 -0600

    clean up warning
---
 source/vm.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/source/vm.cpp b/source/vm.cpp
index 269f279..5c9696a 100644
--- a/source/vm.cpp
+++ b/source/vm.cpp
@@ -445,9 +445,9 @@ void Vm::deserializeCartDataToMemory(std::string cartDataStr) {

     //ATTN: writing one byte at a time instead of one 32 bit int at a time
     //to ensure same behavior across platforms and cpu architectures
-    for(int i = 0; i < 64; i++){
-        int idxStart = (i*4);
-        int idxEnd = idxStart + 3;
+    for(size_t i = 0; i < 64; i++){
+        size_t idxStart = (i*4);
+        size_t idxEnd = idxStart + 3;
         if (idxEnd < bytesVector.size()){
             _memory->data[0x5e00 + idxStart + 0] = bytesVector[idxEnd];
             _memory->data[0x5e00 + idxStart + 1] = bytesVector[idxEnd - 1];