X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=type_decoder.c;h=6140fd0b21e63112b54259fcb56a6bf3dc618b4e;hp=38fa1ae836d3bc5696327f4695f7507987b936f8;hb=62a2b15ce3fe6af6867c30cfc9c14c01d201a898;hpb=d75d8a7c40011cdc15be8330b5efbdf812c4fe27 diff --git a/type_decoder.c b/type_decoder.c index 38fa1ae..6140fd0 100644 --- a/type_decoder.c +++ b/type_decoder.c @@ -78,7 +78,7 @@ static int convert_annotation(struct srd_decoder_inst *di, PyObject *obj, "second element was not a list.", di->decoder->name); return SRD_ERR_PYTHON; } - if (py_strlist_to_char(py_tmp, &ann_text) != SRD_OK) { + if (py_strseq_to_char(py_tmp, &ann_text) != SRD_OK) { srd_err("Protocol decoder %s submitted annotation list, but " "second element was malformed.", di->decoder->name); return SRD_ERR_PYTHON;