From efe8587f9f1ef794e19772ae0fb2b3b28ea99216 Mon Sep 17 00:00:00 2001 From: skarg Date: Thu, 29 Aug 2013 18:14:07 +0000 Subject: [PATCH] Fixed [bugs:#24] comparison is always false. Thank you, Anonymous! --- bacnet-stack/src/bacapp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacnet-stack/src/bacapp.c b/bacnet-stack/src/bacapp.c index 521126ba..bae7d304 100644 --- a/bacnet-stack/src/bacapp.c +++ b/bacnet-stack/src/bacapp.c @@ -1321,7 +1321,7 @@ bool bacapp_print_value( char *str; bool retval = false; size_t str_len = 32; - uint16_t status; + int status; while (true) { /* Try to allocate memory for the output string. Give up if unable. */