X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Foutput%2Fbits.c;h=0a9ccc1a41d6f241fa003f9ea6ed5d07b198ac0a;hb=54ab1dcdc4d372765401bc2513f2692f488f4e1d;hp=728ff2ffb3140c608f85e11492ed28a5f736eb6d;hpb=dcc55fe91aadf4396ce4a3b5db2898da39e1a6be;p=libsigrok.git diff --git a/src/output/bits.c b/src/output/bits.c index 728ff2ff..0a9ccc1a 100644 --- a/src/output/bits.c +++ b/src/output/bits.c @@ -221,10 +221,10 @@ static int cleanup(struct sr_output *o) static struct sr_option options[] = { { "width", "Width", "Number of samples per line", NULL, NULL }, - { 0 } + 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_new_uint32(DEFAULT_SAMPLES_PER_LINE);