1836. [cleanup] Silence compiler warnings in hash_test.c

This commit is contained in:
Mark Andrews
2005-03-16 19:54:39 +00:00
parent 5987ec8af8
commit ab78d121aa

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: hash_test.c,v 1.8.12.5 2005/03/16 19:48:01 marka Exp $ */
/* $Id: hash_test.c,v 1.8.12.6 2005/03/16 19:54:39 marka Exp $ */
#include <config.h>
@@ -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));