fix type mismatch in bzero

master
Andre Puschmann 5 years ago
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) { if (q) {
// Zero object // Zero object
bzero(q, sizeof(rf_zmq_tx_t)); bzero(q, sizeof(rf_zmq_rx_t));
// Copy id // Copy id
strncpy(q->id, id, ZMQ_ID_STRLEN - 1); strncpy(q->id, id, ZMQ_ID_STRLEN - 1);

Loading…
Cancel
Save