register_task(&fn->task);
parent = fn->btrn;
PARA_NOTICE_LOG("%s filter %d/%d (%s) started in slot %d\n",
- audio_formats[s->format], i, nf, f->name, s - slot);
- sprintf(fn->task.status, "%s (slot %d)", f->name, s - slot);
+ audio_formats[s->format], i, nf, f->name, (int)(s - slot));
+ sprintf(fn->task.status, "%s (slot %d)", f->name, (int)(s - slot));
}
}
ret = client_recv_buffer(ct, buf, sizeof(buf));
if (ret < 0)
goto err;
- PARA_INFO_LOG("<-- [challenge] (%zu bytes)\n", ret);
+ PARA_INFO_LOG("<-- [challenge] (%d bytes)\n", ret);
ret = para_decrypt_buffer(ct->key_file, crypt_buf,
(unsigned char *)buf, ret);
if (ret < 0)