X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhwdriver.c;h=b15fc28fc9d3f0083099f0e201e7a50c51e3ae83;hb=be64f90b53d09d9720dc6e06ff8ab61d96c03932;hp=c5d4bf29b02ded8aa387f8266ef129ef400fb9ab;hpb=428d79a810fd4e2b905faf06f0b2e6cadaed82fe;p=libsigrok.git diff --git a/src/hwdriver.c b/src/hwdriver.c index c5d4bf29..b15fc28f 100644 --- a/src/hwdriver.c +++ b/src/hwdriver.c @@ -569,7 +569,8 @@ static int check_key(const struct sr_dev_driver *driver, GVariant *gvar_opts; const uint32_t *opts; uint32_t pub_opt; - char *suffix, *opstr; + const char *suffix; + const char *opstr; if (sdi && cg) suffix = " for this device and channel group";