X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Finput%2Fbinary.c;h=8c5a19fd4cc116cc6ce913b7297d7e9b7ee3e997;hb=2c24077466a299ead689c90f01f55f6d86c7386b;hp=736e4cf24e043133161be90c9bf4735716d06f98;hpb=45ec8f775680124d49e82251f258104cf4414f17;p=libsigrok.git diff --git a/src/input/binary.c b/src/input/binary.c index 736e4cf2..8c5a19fd 100644 --- a/src/input/binary.c +++ b/src/input/binary.c @@ -150,7 +150,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));