Skip to content

Commit

Permalink
Fix incorrect return type of raise_from()
Browse files Browse the repository at this point in the history
Fixes #236.
  • Loading branch information
glaubitz committed Jun 5, 2024
1 parent 8794b37 commit d590664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ _CBORDecoder_get_immutable(CBORDecoderObject *self, void *closure)

// Utility functions /////////////////////////////////////////////////////////

static int
static void
raise_from(PyObject *new_exc_type, const char *message) {
// This requires the error indicator to be set
PyObject *cause;
Expand Down

0 comments on commit d590664

Please sign in to comment.