fix parameter type

This commit is contained in:
Bert Vermeulen 2011-06-19 00:55:36 +02:00
parent 8e49cebd10
commit 60eb1eb582
2 changed files with 4 additions and 4 deletions

View File

@ -39,8 +39,8 @@
* @return SR_OK upon success, SR_ERR_MALLOC upon memory allocation errors.
*/
int sr_filter_probes(int in_unitsize, int out_unitsize, int *probelist,
const char *data_in, uint64_t length_in, char **data_out,
uint64_t *length_out)
const unsigned char *data_in, uint64_t length_in,
char **data_out, uint64_t *length_out)
{
unsigned int in_offset, out_offset;
int num_enabled_probes, out_bit, i;

View File

@ -61,8 +61,8 @@ gboolean sr_device_has_hwcap(struct sr_device *device, int hwcap);
/*--- filter.c --------------------------------------------------------------*/
int sr_filter_probes(int in_unitsize, int out_unitsize, int *probelist,
const char *data_in, uint64_t length_in, char **data_out,
uint64_t *length_out);
const unsigned char *data_in, uint64_t length_in,
char **data_out, uint64_t *length_out);
/*--- hwplugin.c ------------------------------------------------------------*/