Browse Source

Core : Fix Conversion Warnings

zawata 11 năm trước cách đây
mục cha
commit
1be1ff23a9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/core/core_timing.cpp

+ 1 - 1
src/core/core_timing.cpp

@@ -502,7 +502,7 @@ void Advance() {
         Core::g_app_core->down_count += diff;
     }
     if (advance_callback)
-        advance_callback(cycles_executed);
+        advance_callback(static_cast<int>(cycles_executed));
 }
 
 void LogPendingEvents() {