Browse Source

fix return to return false, not -1...

irr_shared
John-Mark Gurney 3 years ago
parent
commit
ecec669bf5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      main.c

+ 1
- 1
main.c View File

@@ -98,7 +98,7 @@ hexdecode(char *buf, size_t len, uint8_t *out)
uint8_t topchr, botchr;

if (len % 2)
return -1;
return false;

/* NB: only needed to silence a bad gcc warning */
topchr = -1;


Loading…
Cancel
Save