remove compiler warnings
This commit is contained in:
parent
22b729a737
commit
2b9a9eef8b
1 changed files with 4 additions and 3 deletions
|
@ -17,13 +17,14 @@
|
|||
* This file is part of MetalSVM.
|
||||
*/
|
||||
|
||||
#include <metalsvm/stdio.h>
|
||||
#include "util.h"
|
||||
|
||||
|
||||
__inline int isprint(char e)
|
||||
inline int isprint(unsigned char e)
|
||||
{
|
||||
if (e < 0x30 || e > 0x80)
|
||||
if ((e < 0x30) || (e > 0x80))
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
// hex_dumb display network packets in a good way
|
||||
|
|
Loading…
Add table
Reference in a new issue