*
  * Copyright 2000-2002 Project Purple
  *
- * $Id: hash.c,v 1.9 2003/10/04 10:21:40 noodles Exp $
+ * $Id: hash.c,v 1.10 2003/10/11 21:52:18 noodles Exp $
  */
 
 #include <stdio.h>
        return elements;
 }
 
-struct ll *gethashtableentry(int entry)
+struct ll *gethashtableentry(unsigned int entry)
 {
        return hashtable[entry];
 }
 
  *
  * Copyright 2000-2002 Project Purple
  *
- * $Id: hash.h,v 1.4 2003/06/04 20:57:08 noodles Exp $
+ * $Id: hash.h,v 1.5 2003/10/11 21:52:18 noodles Exp $
  */
 
 #ifndef __HASH_H__
  *     Gets a particular entry from the hash. Useful for doing something over
  *     all entries in the hash.
  */
-struct ll *gethashtableentry(int entry);
+struct ll *gethashtableentry(unsigned int entry);
 
 #endif /* __HASH_H__ */
 
  *
  * Copyright 2002 Project Purple
  *
- * $Id: keyindex.c,v 1.12 2003/06/08 21:11:01 noodles Exp $
+ * $Id: keyindex.c,v 1.13 2003/10/11 21:52:18 noodles Exp $
  */
 
 #include <assert.h>
                                        keys->publickey->data[9];
                        break;
                case 4:
-                       get_fingerprint(keys->publickey, fp, &fplength);
+                       (void) get_fingerprint(keys->publickey, fp, &fplength);
 
                        for (i = 0; i < fplength; i++) {
                                printf("%02X", fp[i]);
 
  *
  * Copyright 2002 Project Purple
  *
- * $Id: parsekey.c,v 1.16 2003/10/04 10:21:40 noodles Exp $
+ * $Id: parsekey.c,v 1.17 2003/10/11 21:52:18 noodles Exp $
  */
 
 #include <assert.h>
  */
 int debug_packet(struct openpgp_packet *packet)
 {
-       printf("\tNew format: %d, Tag: %d, Length: %d\n",
+       printf("\tNew format: %d, Tag: %u, Length: %d\n",
                        packet->newformat,
                        packet->tag,
                        packet->length);
 
  *
  * Copyright 2000-2002 Project Purple
  *
- * $Id: stats.c,v 1.12 2003/06/08 21:11:01 noodles Exp $
+ * $Id: stats.c,v 1.13 2003/10/11 21:52:18 noodles Exp $
  */
 
 #include <stdio.h>
  */
 void initcolour(bool parent)
 {
-       unsigned long loop;
+       unsigned int loop;
        struct ll *curkey;
 
        /*
        struct ll *sigs = NULL;
        struct ll *nextkeys = NULL;
        long curdegree = 0;
-       long count = 0;
+       unsigned long count = 0;
        
        curdegree = 1;
        keys = lladd(NULL, want);
        /*
         * Make sure the keys we have and want are in the cache.
         */
-       cached_getkeysigs(fullhave);
-       cached_getkeysigs(fullwant);
+       (void) cached_getkeysigs(fullhave);
+       (void) cached_getkeysigs(fullwant);
 
        if ((keyinfoa = findinhash(fullhave)) == NULL) {
                printf("Couldn't find key 0x%llX.\n", have);