mirror of https://github.com/PentHertz/srsLTE.git
fix type mismatch in bzero
This commit is contained in:
parent
40e688ce9b
commit
19e8f7aab5
|
@ -101,7 +101,7 @@ int rf_zmq_rx_open(rf_zmq_rx_t* q, char* id, void* zmq_ctx, char* sock_args)
|
|||
|
||||
if (q) {
|
||||
// Zero object
|
||||
bzero(q, sizeof(rf_zmq_tx_t));
|
||||
bzero(q, sizeof(rf_zmq_rx_t));
|
||||
|
||||
// Copy id
|
||||
strncpy(q->id, id, ZMQ_ID_STRLEN - 1);
|
||||
|
|
Loading…
Reference in New Issue