mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Replace UINT16_MAX with (uint16_t)-1 because of build failure
							parent
							
								
									492dc9f1fc
								
							
						
					
					
						commit
						b95c5f79c0
					
				| 
						 | 
				
			
			@ -130,7 +130,7 @@ int DeviceKey::write_key_to_nvstore(uint32_t *input, size_t isize)
 | 
			
		|||
 | 
			
		||||
int DeviceKey::read_key_from_nvstore(uint32_t *output, size_t& size)
 | 
			
		||||
{
 | 
			
		||||
    if (size > UINT16_MAX) {
 | 
			
		||||
    if (size > (uint16_t)-1) {
 | 
			
		||||
        return DEVICEKEY_INVALID_PARAM;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue