X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Finput%2Finput.c;h=9d471ca4fdad53612889036dec3d0c498d00c6df;hb=2c24077466a299ead689c90f01f55f6d86c7386b;hp=5e8f2129676f1f2839953a7c5dd797debbd1fca9;hpb=45ec8f775680124d49e82251f258104cf4414f17;p=libsigrok.git diff --git a/src/input/input.c b/src/input/input.c index 5e8f2129..9d471ca4 100644 --- a/src/input/input.c +++ b/src/input/input.c @@ -242,7 +242,7 @@ SR_API struct sr_input *sr_input_new(const struct sr_input_module *imod, GHashTable *options) { struct sr_input *in; - struct sr_option *mod_opts; + const struct sr_option *mod_opts; const GVariantType *gvt; GHashTable *new_opts; GHashTableIter iter;