X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Foutput%2Fwav.c;h=e01f3afdea53bb9fc4dfdc7d3d71a934eea76268;hb=75cb428f9f5f11aaa42499e45679b12cc806b1ce;hp=679bee68b661923a44dc586a71e2abca442a2030;hpb=441e9eae58c2b1864b1982d09c4c2dc9c8f7e4bf;p=libsigrok.git diff --git a/src/output/wav.c b/src/output/wav.c index 679bee68..e01f3afd 100644 --- a/src/output/wav.c +++ b/src/output/wav.c @@ -336,10 +336,10 @@ static int cleanup(struct sr_output *o) static struct sr_option options[] = { { "scale", "Scale", "Scale values by factor", 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_ref_sink(g_variant_new_double(0.0));