X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=device.c;h=15809e17e9625e6fbffd6a115a6c7212dd71b93d;hb=a10c805636c7252cbd22582fc6360afc080ca48f;hp=6b56da3a7ad7a727ef0fe56a5defb2caf4458e61;hpb=bf978d355345a7cc3ae7dc6199cc25952aaa182f;p=libsigrok.git diff --git a/device.c b/device.c index 6b56da3a..15809e17 100644 --- a/device.c +++ b/device.c @@ -375,7 +375,8 @@ SR_API int sr_dev_trigger_set(struct sr_dev *dev, int probenum, */ SR_API gboolean sr_dev_has_hwcap(const struct sr_dev *dev, int hwcap) { - int *hwcaps, i; + const int *hwcaps; + int i; sr_spew("dev: %s: requesting hwcap %d", __func__, hwcap);