Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Apr 8, 2024
1 parent aacde41 commit fe90542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collections/fifo_mt.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ int8_t _z_fifo_mt_push(const void *elem, void *context, z_element_free_f element
}
_Z_RETURN_IF_ERR(zp_mutex_unlock(&f->_mutex))
#else // Z_FEATURE_MULTI_THREAD == 1
_z_fifo_push_drop(&f->_fifo, elem, element_free);
_z_fifo_push_drop(&f->_fifo, (void *)elem, element_free);
#endif // Z_FEATURE_MULTI_THREAD == 1

return _Z_RES_OK;
Expand Down

0 comments on commit fe90542

Please sign in to comment.