fix type mismatch in bzero

This commit is contained in:
Andre Puschmann 2019-10-16 10:35:03 +02:00
parent 40e688ce9b
commit 19e8f7aab5
1 changed files with 1 additions and 1 deletions

View File

@ -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);