uorb: Avoiding GCC VCVT Issue When MVE is Enabled
https: //sourceware.org/git/?p=binutils-gdb.git;a=commit;h=656412a7a4da0aef43ead1ea976ba0235a7ec30a Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
This commit is contained in:
parent
78590a55ea
commit
7277a48482
@ -497,7 +497,7 @@ static void listener_monitor(FAR struct list_node *objlist, int nb_objects,
|
||||
{
|
||||
FAR struct pollfd *fds;
|
||||
FAR int *recv_msgs;
|
||||
int interval = topic_rate ? (int)(1000000 / topic_rate) : 0;
|
||||
float interval = topic_rate ? (1000000 / topic_rate) : 0;
|
||||
int nb_recv_msgs = 0;
|
||||
int i = 0;
|
||||
|
||||
@ -542,7 +542,7 @@ static void listener_monitor(FAR struct list_node *objlist, int nb_objects,
|
||||
}
|
||||
else if (interval != 0)
|
||||
{
|
||||
orb_set_interval(fd, interval);
|
||||
orb_set_interval(fd, (unsigned)interval);
|
||||
|
||||
if (topic_latency != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user