From: Mark Andrews Date: Wed, 16 Mar 2005 19:56:29 +0000 (+0000) Subject: 1836. [cleanup] Silence compiler warnings in hash_test.c X-Git-Tag: v9.2.6b1~137^2~41 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=bf2a612889794ad285902c943aaa53db5428bb79;p=thirdparty%2Fbind9.git 1836. [cleanup] Silence compiler warnings in hash_test.c --- diff --git a/bin/tests/hash_test.c b/bin/tests/hash_test.c index d7266816b5c..f200a638df7 100644 --- a/bin/tests/hash_test.c +++ b/bin/tests/hash_test.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: hash_test.c,v 1.12 2005/03/16 19:45:45 marka Exp $ */ +/* $Id: hash_test.c,v 1.13 2005/03/16 19:56:29 marka Exp $ */ #include @@ -89,7 +89,7 @@ main(int argc, char **argv) { print_digest(buffer, "hmacmd5", digest, 4); s = "what do ya want for nothing?"; - strcpy(key, "Jefe"); + strcpy((char *)key, "Jefe"); isc_hmacmd5_init(&hmacmd5, key, 4); memcpy(buffer, s, strlen(s)); isc_hmacmd5_update(&hmacmd5, buffer, strlen(s));