remove compiler warnings
parent
01ffc04006
commit
9a1addce2f
@ -1,6 +1,6 @@
|
|||||||
#include "fmt.h"
|
#include "fmt.h"
|
||||||
|
|
||||||
char fmt_tohex(char c) {
|
char fmt_tohex(char c) {
|
||||||
return c>=10?c-10+'a':c+'0';
|
return (char)(c>=10?c-10+'a':c+'0');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue