fix -Wsign-compare issues

This commit is contained in:
lukem 2009-02-12 10:43:41 +00:00
parent 92e9ddc630
commit d237abe695

View File

@ -823,8 +823,8 @@ str2keyid(const char *userid, unsigned char *keyid, size_t len)
static const char *hexes = "0123456789ABCDEF";
const char *hi;
const char *lo;
int i;
int j;
size_t i;
size_t j;
for (i = j = 0 ; j < len && userid[i] && userid[i + 1] ; i += 2, j++) {
if ((hi = strchr(hexes, userid[i])) == NULL ||