diff options
author | obrien <obrien@FreeBSD.org> | 2003-05-02 06:46:24 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-05-02 06:46:24 +0000 |
commit | e21b490b414e1c48d91f54e4ae266e42fc3c1fa2 (patch) | |
tree | 33f6e0f09a25e57afe2ac97d658d792eac1ecb3a | |
parent | 055cf65eb1d06904d69d4b58914213644ad8cb0d (diff) | |
download | FreeBSD-src-e21b490b414e1c48d91f54e4ae266e42fc3c1fa2.zip FreeBSD-src-e21b490b414e1c48d91f54e4ae266e42fc3c1fa2.tar.gz |
Use size_t type vars in sizeof contexts.
-rw-r--r-- | sbin/atm/ilmid/ilmid.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |