X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=output%2Fchronovu_la8.c;h=cca6a295e7539fd4a834bb7f2f3fb66d1fada386;hb=fc8fe3e3141f998dd97004c4379cb4d3acbd62a9;hp=944473f4b40247572e77f6c0c5465e4b75208b2f;hpb=c09f0b578c0e9c03590cb814f66004bb3f6815ff;p=libsigrok.git diff --git a/output/chronovu_la8.c b/output/chronovu_la8.c index 944473f4..cca6a295 100644 --- a/output/chronovu_la8.c +++ b/output/chronovu_la8.c @@ -133,11 +133,11 @@ static int init(struct sr_output *o) return 0; /* TODO: SR_OK? */ } -static int event(struct sr_output *o, int event_type, char **data_out, +static int event(struct sr_output *o, int event_type, uint8_t **data_out, uint64_t *length_out) { struct context *ctx; - char *outbuf; + uint8_t *outbuf; if (!o) { sr_warn("la8 out: %s: o was NULL", __func__); @@ -196,11 +196,11 @@ static int event(struct sr_output *o, int event_type, char **data_out, return SR_OK; } -static int data(struct sr_output *o, const char *data_in, uint64_t length_in, - char **data_out, uint64_t *length_out) +static int data(struct sr_output *o, const uint8_t *data_in, + uint64_t length_in, uint8_t **data_out, uint64_t *length_out) { struct context *ctx; - char *outbuf; + uint8_t *outbuf; if (!o) { sr_warn("la8 out: %s: o was NULL", __func__);