X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Finput%2Fvcd.c;h=6089ac8434a1369d3a8302ee81998f3accef980f;hb=2c24077466a299ead689c90f01f55f6d86c7386b;hp=75efc0d55efe023c6ae1d1f482c3766a3bcc4ecb;hpb=45ec8f775680124d49e82251f258104cf4414f17;p=libsigrok.git diff --git a/src/input/vcd.c b/src/input/vcd.c index 75efc0d5..6089ac84 100644 --- a/src/input/vcd.c +++ b/src/input/vcd.c @@ -551,7 +551,7 @@ static struct sr_option options[] = { ALL_ZERO }; -static struct sr_option *get_options(void) +static const struct sr_option *get_options(void) { if (!options[0].def) { options[0].def = g_variant_ref_sink(g_variant_new_int32(DEFAULT_NUM_CHANNELS));