From e21b490b414e1c48d91f54e4ae266e42fc3c1fa2 Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 2 May 2003 06:46:24 +0000 Subject: Use size_t type vars in sizeof contexts. --- sbin/atm/ilmid/ilmid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin') diff --git a/sbin/atm/ilmid/ilmid.c b/sbin/atm/ilmid/ilmid.c index 5905711..ba7f170 100644 --- a/sbin/atm/ilmid/ilmid.c +++ b/sbin/atm/ilmid/ilmid.c @@ -626,7 +626,7 @@ asn_set_int (u_char **bufp, int val) u_char c[4]; } u; int len = sizeof(int); - int i = 0; + size_t i = 0; u_char *bp = *bufp; /* Check for special case where val == 0 */ @@ -1145,7 +1145,7 @@ oid_ncmp (Objid *oid1, Objid *oid2, int len) static int find_var (Variable *var) { - int i; + size_t i; for ( i = 0; i < NUM_OIDS; i++ ) if ( oid_cmp ( &var->oid, &Objids[i] ) == 0 ) { @@ -2215,7 +2215,7 @@ lmi_object_find (Variable *var) { Objid * obj_var; Objid * obj_cur; - int x; + size_t x; int y; obj_var = &var->oid; -- cgit v1.1