Corrected some compiler warnings.

This commit is contained in:
skarg
2010-02-12 22:31:09 +00:00
parent ff8746d5f5
commit c8d959b3e3
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -57,7 +57,7 @@ void handler_rpm_list_set(
static uint8_t Temp_Buf[MAX_APDU] = { 0 }; static uint8_t Temp_Buf[MAX_APDU] = { 0 };
static int RPM_Object_Property( static BACNET_PROPERTY_ID RPM_Object_Property(
struct special_property_list_t *pPropertyList, struct special_property_list_t *pPropertyList,
BACNET_PROPERTY_ID special_property, BACNET_PROPERTY_ID special_property,
unsigned index) unsigned index)
@@ -88,7 +88,7 @@ static int RPM_Object_Property(
} }
} }
return property; return (BACNET_PROPERTY_ID)property;
} }
static unsigned RPM_Object_Property_Count( static unsigned RPM_Object_Property_Count(
@@ -143,9 +143,9 @@ static int RPM_Encode_Property(
rpdata.object_property = object_property; rpdata.object_property = object_property;
rpdata.array_index = array_index; rpdata.array_index = array_index;
rpdata.application_data = &Temp_Buf[0]; rpdata.application_data = &Temp_Buf[0];
rpdata.application_data_len = sizeof(Temp_Buf); rpdata.application_data_len = sizeof(Temp_Buf);
len = Read_Property_Function(&rpdata); len = Read_Property_Function(&rpdata);
} }
if (len < 0) { if (len < 0) {
/* error was returned - encode that for the response */ /* error was returned - encode that for the response */
len = len =
+1 -1
View File
@@ -156,7 +156,7 @@ unsigned Binary_Output_Instance_To_Index(
return index; return index;
} }
static BACNET_BINARY_PV Binary_Output_Present_Value( BACNET_BINARY_PV Binary_Output_Present_Value(
uint32_t object_instance) uint32_t object_instance)
{ {
BACNET_BINARY_PV value = RELINQUISH_DEFAULT; BACNET_BINARY_PV value = RELINQUISH_DEFAULT;