]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
One last warning fix release-1.7.1
authorWillem Toorop <willem@nlnetlabs.nl>
Fri, 26 Jul 2019 15:05:33 +0000 (11:05 -0400)
committerWillem Toorop <willem@nlnetlabs.nl>
Fri, 26 Jul 2019 15:05:33 +0000 (11:05 -0400)
examples/ldns-signzone.c

index 1a5678c5677bb0f836afd1b9d86b82c6b26bc645..7d24ad90a2ffeaf50e981d509b15739a292f56e1 100644 (file)
@@ -438,7 +438,8 @@ load_key ( const char * const p, ENGINE * const e )
        printf ( "Engine key id: %s, algo %d\n", id, alg );
 
        /* Attempt to load the key from the engine. */
-       status = ldns_key_new_frm_engine ( &key, e, (char *) id, alg );
+       status = ldns_key_new_frm_engine (
+                       &key, e, (char *) id, (ldns_algorithm)alg );
        if ( status != LDNS_STATUS_OK ) {
                ERR_print_errors_fp ( stderr );
                exit ( EXIT_FAILURE );