int pmhash_add(struct pmhash **pmhash, char *key, void *val)
{
- int i;
+ unsigned int i;
struct pmhash *hash = *pmhash;
i = 0;
repeat:
void * pmhash_get(struct pmhash *pmhash, char *key)
{
- int i;
+ unsigned int i;
for (i = 0; i < pmhash->len; i++) {
if (pmhash->items[i].key == NULL)
return NULL;
void pmhash_del(struct pmhash *pmhash)
{
- int i;
+ unsigned int i;
for (i = 0; i < pmhash->len; i++) {
if (pmhash->items[i].key == NULL)
break;