From 076ee5f3ca46fd3feff751d90555556e8a473c94 Mon Sep 17 00:00:00 2001 From: skarg Date: Tue, 22 May 2007 13:44:07 +0000 Subject: [PATCH] Changed priority parameter to unsigned since we don't need to use negative values and were not checking for negative to be invalid. --- bacnet-stack/demo/object/ao.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacnet-stack/demo/object/ao.c b/bacnet-stack/demo/object/ao.c index 346b0c16..b753c480 100644 --- a/bacnet-stack/demo/object/ao.c +++ b/bacnet-stack/demo/object/ao.c @@ -183,7 +183,7 @@ bool Analog_Output_Present_Value_Set(uint32_t object_instance, } bool Analog_Output_Present_Value_Relinquish(uint32_t object_instance, - int priority) + unsigned priority) { unsigned index = 0; bool status = false;