A small memory footprint AMQP implimentation

Dependents:   iothub_client_sample_amqp remote_monitoring simplesample_amqp

Revision:
23:1111ee8bcba4
Parent:
21:f9c433d8e6ca
Child:
25:1101516ee67d
--- a/amqpvalue_to_string.c	Thu Apr 06 14:11:27 2017 -0700
+++ b/amqpvalue_to_string.c	Fri Apr 21 14:50:32 2017 -0700
@@ -41,7 +41,7 @@
 
 		length += src_length;
 
-		char* new_string = realloc(*string, length);
+		char* new_string = (char*)realloc(*string, length);
 		if (new_string == NULL)
 		{
 			result = __FAILURE__;