X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=instance.c;h=d0e9d0ac5f663626da3a7545b59f74beb450b666;hb=961699aaab1e44dab827c9f1884100b87a0a97fd;hp=6df6e10d7e1bdf776a5ace649fcf1b8e1f9302a6;hpb=d841d5b26f2134143fc80c9898522d13387b7cc8;p=libsigrokdecode.git diff --git a/instance.c b/instance.c index 6df6e10..d0e9d0a 100644 --- a/instance.c +++ b/instance.c @@ -115,7 +115,7 @@ SRD_API int srd_inst_option_set(struct srd_decoder_inst *di, if ((value = g_hash_table_lookup(options, sdo->id))) { /* A value was supplied for this option. */ if (!g_variant_type_equal(g_variant_get_type(value), - g_variant_get_type(sdo-> def))) { + g_variant_get_type(sdo->def))) { srd_err("Option '%s' should have the same type " "as the default value.", sdo->id); goto err_out;