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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user