mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	citra-qt: Add explicit casts to prevent some warnings.
This commit is contained in:
		
							parent
							
								
									1b01938767
								
							
						
					
					
						commit
						115a4bfc9e
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -160,8 +160,8 @@ void GraphicsFramebufferWidget::OnFramebufferAddressChanged(qint64 new_value) | ||||||
| 
 | 
 | ||||||
| void GraphicsFramebufferWidget::OnFramebufferWidthChanged(int new_value) | void GraphicsFramebufferWidget::OnFramebufferWidthChanged(int new_value) | ||||||
| { | { | ||||||
|     if (framebuffer_width != new_value) { |     if (framebuffer_width != static_cast<unsigned>(new_value)) { | ||||||
|         framebuffer_width = new_value; |         framebuffer_width = static_cast<unsigned>(new_value); | ||||||
| 
 | 
 | ||||||
|         framebuffer_source_list->setCurrentIndex(static_cast<int>(Source::Custom)); |         framebuffer_source_list->setCurrentIndex(static_cast<int>(Source::Custom)); | ||||||
|         emit Update(); |         emit Update(); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue