summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5da3ec5)
Author: noodles
Date: 2003/10/11 21:52:18
Various cleanups with regards to types.
*
* Copyright 2000-2002 Project Purple
*
*
* 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 $
-struct ll *gethashtableentry(int entry)
+struct ll *gethashtableentry(unsigned int entry)
{
return hashtable[entry];
}
{
return hashtable[entry];
}
*
* Copyright 2000-2002 Project Purple
*
*
* 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 $
* Gets a particular entry from the hash. Useful for doing something over
* all entries in the hash.
*/
* 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);
*
* Copyright 2002 Project Purple
*
*
* 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 $
keys->publickey->data[9];
break;
case 4:
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]);
for (i = 0; i < fplength; i++) {
printf("%02X", fp[i]);
*
* Copyright 2002 Project Purple
*
*
* 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 $
*/
int debug_packet(struct openpgp_packet *packet)
{
*/
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);
packet->newformat,
packet->tag,
packet->length);
*
* Copyright 2000-2002 Project Purple
*
*
* 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 $
*/
void initcolour(bool parent)
{
*/
void initcolour(bool parent)
{
struct ll *sigs = NULL;
struct ll *nextkeys = NULL;
long curdegree = 0;
struct ll *sigs = NULL;
struct ll *nextkeys = NULL;
long curdegree = 0;
+ unsigned long count = 0;
curdegree = 1;
keys = lladd(NULL, want);
curdegree = 1;
keys = lladd(NULL, want);
/*
* Make sure the keys we have and want are in the cache.
*/
/*
* 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);
if ((keyinfoa = findinhash(fullhave)) == NULL) {
printf("Couldn't find key 0x%llX.\n", have);