From: Uwe Hermann Date: Thu, 28 Jan 2016 17:46:55 +0000 (+0100) Subject: hameg-hmo: Fix some compiler warnings. X-Git-Tag: libsigrok-0.4.0~24 X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=650847e7d3caf097042397bd4522a7a393cb89ab hameg-hmo: Fix some compiler warnings. --- diff --git a/src/hardware/hameg-hmo/protocol.c b/src/hardware/hameg-hmo/protocol.c index bcf68ebb..bc81b810 100644 --- a/src/hardware/hameg-hmo/protocol.c +++ b/src/hardware/hameg-hmo/protocol.c @@ -18,6 +18,8 @@ */ #include +#include +#include #include "scpi.h" #include "protocol.h" @@ -345,7 +347,7 @@ static int scope_state_get_array_option(struct sr_scpi_dev_inst *scpi, * @return SR_ERR on any parsing error, SR_OK otherwise. */ static int array_float_get(gchar *value, const uint64_t array[][2], - int array_len, int *result) + int array_len, unsigned int *result) { int i; uint64_t f;