use unsigned/size_t where approprite

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22895 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-04-07 18:52:20 +00:00
parent a8c1ee8494
commit fe5323f0e5
17 changed files with 56 additions and 54 deletions

View File

@@ -965,8 +965,8 @@ encrypt_debug(int mode)
encrypt_debug_mode = mode;
}
void encrypt_gen_printsub(unsigned char *data, int cnt,
unsigned char *buf, int buflen)
void encrypt_gen_printsub(unsigned char *data, size_t cnt,
unsigned char *buf, size_t buflen)
{
char tbuf[16], *cp;
@@ -986,7 +986,8 @@ void encrypt_gen_printsub(unsigned char *data, int cnt,
}
void
encrypt_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen)
encrypt_printsub(unsigned char *data, size_t cnt,
unsigned char *buf, size_t buflen)
{
Encryptions *ep;
int type = data[1];