X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=strutil.c;h=f70a6f35343840ed654b5daf45bbbdc04c2ee706;hb=b7f578bef53ff0e645ca0cae3f9781f577b7367a;hp=26296cea21419aee00f784e18fbefcf02b2a55be;hpb=915f7cc87a8dce688ab99fc67005ef77e0d028a2;p=libsigrok.git diff --git a/strutil.c b/strutil.c index 26296cea..f70a6f35 100644 --- a/strutil.c +++ b/strutil.c @@ -176,7 +176,8 @@ SR_API char **sr_parse_triggerstring(struct sr_dev *dev, GSList *l; struct sr_probe *probe; int max_probes, probenum, i; - char **tokens, **triggerlist, *trigger, *tc, *trigger_types; + char **tokens, **triggerlist, *trigger, *tc; + const char *trigger_types; gboolean error; max_probes = g_slist_length(dev->probes);