mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	BitField: Cast enum values to proper integer type.
This commit is contained in:
		
							parent
							
								
									cd1d5786d9
								
							
						
					
					
						commit
						0da8e2eacc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -142,7 +142,7 @@ public: | |||
| 
 | ||||
|     __forceinline BitField& operator=(T val) | ||||
|     { | ||||
|         storage = (storage & ~GetMask()) | ((val << position) & GetMask()); | ||||
|         storage = (storage & ~GetMask()) | (((StorageType)val << position) & GetMask()); | ||||
|         return *this; | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue