static void
convertBulkToNBulk(bulkentries *bulk, nbulkentries *nbulk) {
- int i;
+ unsigned int i;
if (bulk->bulkentries_len == 0)
return;
struct cacheips {
afs_uint32 server;
- afs_int32 count;
+ afs_uint32 count;
afs_uint32 addrs[16];
};
/*
int code;
ListAddrByAttributes attrs;
bulkaddrs addrs;
- afs_uint32 *addrp, i, j, f1, f2;
- afs_int32 unique, nentries;
+ afs_uint32 *addrp, j, f1, f2;
+ afs_int32 unique, nentries, i;
afsUUID uuid;
static int initcache = 0;
vsu_ExtractName(char rname[], char name[])
{
char sname[VOLSER_OLDMAXVOLNAME + 1];
- int total;
+ size_t total;
strncpy(sname, name, sizeof(sname));
sname[sizeof(sname) - 1] = '\0';
char volname[VOLSER_OLDMAXVOLNAME + 1];
struct nvldbentry entry;
afs_int32 vcode = 0;
- int total;
+ size_t total;
*errp = 0;