Fixed compiler warnings.

This commit is contained in:
skarg
2010-08-06 22:21:29 +00:00
parent e268569c5c
commit 83a3f08dad
+3 -2
View File
@@ -77,7 +77,8 @@ void handler_who_has(
Device_Valid_Object_Name(object_name, &object_type,
&object_instance);
if (found)
Send_I_Have(Device_Object_Instance_Number(), object_type,
Send_I_Have(Device_Object_Instance_Number(),
(BACNET_OBJECT_TYPE)object_type,
object_instance, object_name);
} else {
/* valid object in my device? */
@@ -86,7 +87,7 @@ void handler_who_has(
data.object.identifier.instance);
if (object_name)
Send_I_Have(Device_Object_Instance_Number(),
data.object.identifier.type,
(BACNET_OBJECT_TYPE)data.object.identifier.type,
data.object.identifier.instance, object_name);
}
}