A small memory footprint AMQP implimentation

Dependents:   iothub_client_sample_amqp remote_monitoring simplesample_amqp

Revision:
6:641a9672db08
Parent:
0:6ae2f7bca550
Child:
17:923575db8b2d
--- a/amqpvalue_to_string.c	Fri Jul 01 10:42:48 2016 -0700
+++ b/amqpvalue_to_string.c	Fri Jul 29 15:58:39 2016 -0700
@@ -177,7 +177,7 @@
 		case AMQP_TYPE_BYTE:
 		{
 			char str_value[5];
-			int8_t value;
+			uint8_t value;
 			if (amqpvalue_get_ubyte(amqp_value, &value) != 0)
 			{
 				amqpalloc_free(result);
@@ -198,7 +198,7 @@
 		case AMQP_TYPE_SHORT:
 		{
 			char str_value[7];
-			int16_t value;
+			uint16_t value;
 			if (amqpvalue_get_ushort(amqp_value, &value) != 0)
 			{
 				amqpalloc_free(result);
@@ -240,7 +240,7 @@
 		case AMQP_TYPE_LONG:
 		{
 			char str_value[21];
-			int64_t value;
+			uint64_t value;
 			if (amqpvalue_get_ulong(amqp_value, &value) != 0)
 			{
 				amqpalloc_free(result);
@@ -504,7 +504,7 @@
 			}
 			else
 			{
-				size_t i;
+				uint32_t i;
 				for (i = 0; i < count; i++)
 				{
 					AMQP_VALUE key;
@@ -579,7 +579,7 @@
 			}
 			else
 			{
-				size_t i;
+				uint32_t i;
 				for (i = 0; i < count; i++)
 				{
 					AMQP_VALUE item = amqpvalue_get_array_item(amqp_value, i);