From: Uwe Hermann Date: Wed, 28 Mar 2012 18:00:13 +0000 (+0200) Subject: sr: out: Use uint8_t (not char) for buffers. X-Git-Tag: sigrok-cli-0.3.0~5 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8de01efefca39831c0672f600ba0e3c33cdf4e1a;p=sigrok-cli.git sr: out: Use uint8_t (not char) for buffers. --- diff --git a/sigrok-cli.c b/sigrok-cli.c index ab13196..204d5c2 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -302,7 +302,7 @@ static void datafeed_in(struct sr_dev *dev, struct sr_datafeed_packet *packet) struct sr_datafeed_logic *logic; int num_enabled_probes, sample_size, ret, i; uint64_t output_len, filter_out_len; - char *output_buf, *filter_out; + uint8_t *output_buf, *filter_out; /* If the first packet to come in isn't a header, don't even try. */ if (packet->type != SR_DF_HEADER && o == NULL)