mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-30 15:39:02 -05:00 
			
		
		
		
	scheduler: Resolve sign conversion warning
This commit is contained in:
		| @@ -131,7 +131,8 @@ u32 GlobalScheduler::SelectThreads() { | |||||||
|     u32 cores_needing_context_switch{}; |     u32 cores_needing_context_switch{}; | ||||||
|     for (u32 core = 0; core < Core::Hardware::NUM_CPU_CORES; core++) { |     for (u32 core = 0; core < Core::Hardware::NUM_CPU_CORES; core++) { | ||||||
|         Scheduler& sched = kernel.Scheduler(core); |         Scheduler& sched = kernel.Scheduler(core); | ||||||
|         ASSERT(top_threads[core] == nullptr || top_threads[core]->GetProcessorID() == core); |         ASSERT(top_threads[core] == nullptr || | ||||||
|  |                static_cast<u32>(top_threads[core]->GetProcessorID()) == core); | ||||||
|         if (update_thread(top_threads[core], sched)) { |         if (update_thread(top_threads[core], sched)) { | ||||||
|             cores_needing_context_switch |= (1ul << core); |             cores_needing_context_switch |= (1ul << core); | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Lioncash
					Lioncash