From: Willem Toorop Date: Fri, 26 Jul 2019 15:05:33 +0000 (-0400) Subject: One last warning fix X-Git-Tag: release-1.7.1^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53bc57512c19b11eebc403a4cb2bbf7295eb0db1;p=thirdparty%2Fldns.git One last warning fix --- diff --git a/examples/ldns-signzone.c b/examples/ldns-signzone.c index 1a5678c5..7d24ad90 100644 --- a/examples/ldns-signzone.c +++ b/examples/ldns-signzone.c @@ -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 );