X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=filter.c;h=2465cbbdf26aa0a448c8ce0911a1839dcae4cb47;hb=d27e406e13d1247a7839698d3643b8ebae7143af;hp=bfed99db4e6cff606388eec60f58d14dc23d2374;hpb=1a081ca67d63a0bd933a3d715792d85afd437296;p=libsigrok.git diff --git a/filter.c b/filter.c index bfed99db..2465cbbd 100644 --- a/filter.c +++ b/filter.c @@ -1,7 +1,7 @@ /* * This file is part of the sigrok project. * - * Copyright (C) 2012 Bert Vermeulen + * Copyright (C) 2010-2012 Bert Vermeulen * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -74,8 +74,8 @@ * out_unitsize, data_out, and length_out are undefined. */ SR_API int sr_filter_probes(int in_unitsize, int out_unitsize, - const int *probelist, const unsigned char *data_in, - uint64_t length_in, char **data_out, + const int *probelist, const uint8_t *data_in, + uint64_t length_in, uint8_t **data_out, uint64_t *length_out) { unsigned int in_offset, out_offset;