Module Name: src Committed By: pgoyette Date: Thu Jan 16 22:06:45 UTC 2014
Modified Files: src/tests/crypto/opencrypto: h_xcbcmac.c Log Message: Since sizeof() is unsigned, use an unsigned int for the loop index. Fixes latest build break. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/crypto/opencrypto/h_xcbcmac.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/crypto/opencrypto/h_xcbcmac.c diff -u src/tests/crypto/opencrypto/h_xcbcmac.c:1.2 src/tests/crypto/opencrypto/h_xcbcmac.c:1.3 --- src/tests/crypto/opencrypto/h_xcbcmac.c:1.2 Thu Jan 16 18:09:55 2014 +++ src/tests/crypto/opencrypto/h_xcbcmac.c Thu Jan 16 22:06:45 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: h_xcbcmac.c,v 1.2 2014/01/16 18:09:55 pgoyette Exp $ */ +/* $NetBSD: h_xcbcmac.c,v 1.3 2014/01/16 22:06:45 pgoyette Exp $ */ /*- * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -72,7 +72,8 @@ const struct { int main(void) { - int fd, res, i; + int fd, res; + unsigned int i; struct session_op cs; struct crypt_op co; unsigned char buf[16];