got rid of warning about signed vs unsigned

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@897 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-10-26 22:53:29 +00:00
parent c1e3bd0671
commit 8a57712ead
3 changed files with 35 additions and 35 deletions

View File

@@ -82,7 +82,7 @@ otp_get (void *v, OtpContext *ctx)
{
DBM *dbm = (DBM *)v;
datum dat, key;
unsigned char *p;
char *p;
time_t now, then;
key.dsize = strlen(ctx->user);
@@ -120,7 +120,7 @@ otp_put (void *v, OtpContext *ctx)
{
DBM *dbm = (DBM *)v;
datum dat, key;
unsigned char buf[1024], *p;
char buf[1024], *p;
time_t zero = 0;
key.dsize = strlen(ctx->user);