Use unsigned where appropriate.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22887 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-04-07 18:51:38 +00:00
parent 9d1d030025
commit 832a72e67b

View File

@@ -284,14 +284,14 @@ static int
HandleOP(GoodBye) HandleOP(GoodBye)
{ {
struct handle *h = c->handles; struct handle *h = c->handles;
int i = 0; unsigned int i = 0;
while (h) { while (h) {
h = h->next; h = h->next;
i++; i++;
} }
if (i != 0) if (i)
logmessage(c, __FILE__, __LINE__, 0, logmessage(c, __FILE__, __LINE__, 0,
"Did not toast all resources: %d", i); "Did not toast all resources: %d", i);
return 1; return 1;