]> sigrok.org Git - libsigrokdecode.git/commit
type_decoder.c: Workaround for a compiler warning.
authorUwe Hermann <redacted>
Thu, 21 May 2020 14:40:23 +0000 (16:40 +0200)
committerUwe Hermann <redacted>
Thu, 21 May 2020 14:43:09 +0000 (16:43 +0200)
commit9e3ed17732bfee95dd17fbd74ad82195a992eb2f
treeb05913811e5d29e2b085e022f10e6cae8f636fa4
parent1bfb520c95f4bd617c804960435b3f95907bf065
type_decoder.c: Workaround for a compiler warning.

  type_decoder.c:1040:16: warning: cast between incompatible function types from ‘PyObject * (*)(PyObject *, PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *, struct _object *)’} to ‘PyObject * (*)(PyObject *, PyObject *)’ {aka ‘struct _object * (*)(struct _object *, struct _object *)’} [-Wcast-function-type]
   1040 |  { "register", (PyCFunction)Decoder_register, METH_VARARGS|METH_KEYWORDS,
        |                ^
type_decoder.c