From 342ad7895e3beeea0035c38c2439189a3ae270c9 Mon Sep 17 00:00:00 2001 From: Daniel Elstner Date: Thu, 20 Feb 2014 06:31:40 +0100 Subject: [PATCH 1/1] Pass new unit_size argument to srd_inst_probe_set_all() --- decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decode.c b/decode.c index c62722e..0b7d9ee 100644 --- a/decode.c +++ b/decode.c @@ -179,7 +179,7 @@ int register_pds(const char *opt_pds, char *opt_pd_annotations) g_strdup(di->inst_id), GINT_TO_POINTER(-1)); /* Remap the probes if needed. */ - if (srd_inst_probe_set_all(di, probes) != SRD_OK) { + if (srd_inst_probe_set_all(di, probes, (g_hash_table_size(probes) + 7) / 8) != SRD_OK) { ret = 1; break; } -- 2.30.2