remove compiler warnings

This commit is contained in:
Stefan Lankes 2011-08-25 04:07:20 -07:00
parent 22b729a737
commit 2b9a9eef8b

View file

@ -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