mirror of https://github.com/zeldaret/tmc.git
				
				
				
			Merge pull request #672 from notyourav/char_fi
use correct signedness for char in tools
This commit is contained in:
		
						commit
						b32553e490
					
				|  | @ -13,7 +13,7 @@ class Reader { | |||
| 
 | ||||
|     [[nodiscard]] s8 read_s8() { | ||||
|         // TODO range check
 | ||||
|         return data[static_cast<unsigned long>(cursor++)]; | ||||
|         return static_cast<s8>(data[static_cast<unsigned long>(cursor++)]); | ||||
|     } | ||||
| 
 | ||||
|     [[nodiscard]] u8 read_u8() { | ||||
|  | @ -35,4 +35,4 @@ class Reader { | |||
|     // const int size;
 | ||||
| }; | ||||
| 
 | ||||
| #endif | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Theo
						Theo