mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Fixed warning "cast-align" (issue #914)
This commit is contained in:
		| @@ -91,7 +91,7 @@ class MemoryPool { | ||||
|     return reinterpret_cast<T*>(allocRight(sizeof(T))); | ||||
|   } | ||||
|  | ||||
|   char* allocRight(size_t bytes) { | ||||
|   void* allocRight(size_t bytes) { | ||||
|     if (!canAlloc(bytes)) return 0; | ||||
|     _right -= bytes; | ||||
|     return _right; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user