]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix warning.
authorSimon Josefsson <simon@josefsson.org>
Fri, 17 Feb 2006 10:26:04 +0000 (10:26 +0000)
committerSimon Josefsson <simon@josefsson.org>
Fri, 17 Feb 2006 10:26:04 +0000 (10:26 +0000)
lib/x509/sign.c

index a26956adc25abb8df095df4e220babd331b49434..a24fcc382272c3ba5d85fc6fa86a96ab741a0c1d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2003, 2004, 2005 Free Software Foundation
+ * Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation
  *
  * Author: Nikos Mavroyanopoulos
  *
@@ -56,7 +56,7 @@ encode_ber_digest_info (gnutls_digest_algorithm_t hash,
   int result;
   const char *algo;
 
-  algo = _gnutls_x509_mac_to_oid (hash);
+  algo = _gnutls_x509_mac_to_oid ((gnutls_mac_algorithm_t) hash);
   if (algo == NULL)
     {
       gnutls_assert ();