Fix signed / unsigned mismatch.

This commit is contained in:
Dag-Erling Smørgrav 2016-09-05 15:46:29 +02:00
parent 85f75bba42
commit 8d7b6439ae

View file

@ -1967,7 +1967,8 @@ t_rc4(char **desc CRYB_UNUSED, void *arg)
struct t_case *t = arg; struct t_case *t = arg;
rc4_ctx ctx; rc4_ctx ctx;
uint8_t out[16]; uint8_t out[16];
unsigned int i, offset; unsigned int i;
off_t offset;
int ret = 1; int ret = 1;
rc4_init(&ctx, CIPHER_MODE_ENCRYPT, t->key, t->keylen); rc4_init(&ctx, CIPHER_MODE_ENCRYPT, t->key, t->keylen);