Fixed compiler warnings.
This commit is contained in:
@@ -77,7 +77,8 @@ void handler_who_has(
|
|||||||
Device_Valid_Object_Name(object_name, &object_type,
|
Device_Valid_Object_Name(object_name, &object_type,
|
||||||
&object_instance);
|
&object_instance);
|
||||||
if (found)
|
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);
|
object_instance, object_name);
|
||||||
} else {
|
} else {
|
||||||
/* valid object in my device? */
|
/* valid object in my device? */
|
||||||
@@ -86,7 +87,7 @@ void handler_who_has(
|
|||||||
data.object.identifier.instance);
|
data.object.identifier.instance);
|
||||||
if (object_name)
|
if (object_name)
|
||||||
Send_I_Have(Device_Object_Instance_Number(),
|
Send_I_Have(Device_Object_Instance_Number(),
|
||||||
data.object.identifier.type,
|
(BACNET_OBJECT_TYPE)data.object.identifier.type,
|
||||||
data.object.identifier.instance, object_name);
|
data.object.identifier.instance, object_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user