commit 7d1dfe26d99376a341bb150eb89ba717bb883077
parent 2ca7a3ee4e0b145f6fdb6be347962e16ad92ca3a
Author: Gabor X Toth <*@tg-x.net>
Date: Wed, 6 Jan 2016 12:28:45 +0000
multicast test: now compiles in non-C99 mode
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/multicast/test_multicast.c b/src/multicast/test_multicast.c
@@ -535,7 +535,8 @@ origin_to_all ()
*tmit = (struct TransmitClosure) {};
tmit->data[0] = "ABC DEF";
tmit->data[1] = GNUNET_malloc (GNUNET_MULTICAST_FRAGMENT_MAX_PAYLOAD + 1);
- for (uint16_t i = 0; i < GNUNET_MULTICAST_FRAGMENT_MAX_PAYLOAD; i++)
+ uint16_t i;
+ for (i = 0; i < GNUNET_MULTICAST_FRAGMENT_MAX_PAYLOAD; i++)
tmit->data[1][i] = (0 == i % 10000) ? '0' + i / 10000 : '_';
tmit->data[2] = "GHI JKL MNO";
tmit->data_delay[2] = 2;