pyhelper: Fix GETHEX() macro used in dump_string() debugging

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2017-05-17 01:12:30 -04:00
parent fc24aa041b
commit b6f24e78ac
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ report_errno(char *where, int rc)
} }
// Return a hex character for a given number // Return a hex character for a given number
#define GETHEX(x) ((x) < 10 ? '0' + (x) : 'e' + (x) - 10) #define GETHEX(x) ((x) < 10 ? '0' + (x) : 'a' + (x) - 10)
// Translate a binary string into an ASCII string with escape sequences // Translate a binary string into an ASCII string with escape sequences
char * char *