make fmt_hexdump use lowercase letters

master
leitner 23 years ago
parent 58334b0ea2
commit c536d87493

@ -4,7 +4,7 @@
#include "haveinline.h" #include "haveinline.h"
static inline int tohex(char c) { static inline int tohex(char c) {
return c>9?c-10+'A':c+'0'; return c>9?c-10+'a':c+'0';
} }
unsigned int fmt_hexdump(char* dest,const char* src,unsigned int len) { unsigned int fmt_hexdump(char* dest,const char* src,unsigned int len) {

Loading…
Cancel
Save