X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=output%2Ftext%2Fascii.c;h=e4eacaf3d3d90c71a38efa66e65ada95c660e09b;hb=54ac5277c5e462f1778300b9bc3fdd4709ecb2dc;hp=3e7f2e3551215a5981ee72aa75b7d39c4a56ccf1;hpb=809c5f2011198a064a2e5e4028f19e63eb532ec1;p=libsigrok.git diff --git a/output/text/ascii.c b/output/text/ascii.c index 3e7f2e35..e4eacaf3 100644 --- a/output/text/ascii.c +++ b/output/text/ascii.c @@ -30,8 +30,8 @@ int init_ascii(struct sr_output *o) return init(o, DEFAULT_BPL_ASCII, MODE_ASCII); } -int data_ascii(struct sr_output *o, char *data_in, uint64_t length_in, - char **data_out, uint64_t *length_out) +int data_ascii(struct sr_output *o, const char *data_in, uint64_t length_in, + char **data_out, uint64_t *length_out) { struct context *ctx; unsigned int outsize, offset, p;