Skip to content
Snippets Groups Projects
Commit f653f0ad authored by znley's avatar znley Committed by Andy Postnikov
Browse files

community/certmonger: fix build with gcc14

parent 4ad187d1
No related branches found
No related tags found
1 merge request!71506community/certmonger: fix build with gcc14
Pipeline #257662 skipped
......@@ -46,6 +46,7 @@ source="$pkgname-$pkgver.tar.gz::https://pagure.io/certmonger/archive/$pkgver/ce
0002-fix-unistd-for-musl.patch
0003-tests-fix-addition-of-test-40.patch
0004-tests-use-better-Makefile-integration-of-test-runnin.patch
gcc14.patch
certmonger.initd
certmonger.confd
"
......@@ -93,6 +94,7 @@ d14e2bb583869687f3a107df9cd58071a98567267a3726b4082061c7b988bcf831090aeb8d087488
a603e056f91604943f55da577f8991ea33e6a890c75913a66dfcf4d64447ebc65715e7b0f9eac45246af3827dd2cd658ed9e291f20c5fa0182bb00e1a7919e9e 0002-fix-unistd-for-musl.patch
5294cedd25ae607e9ccc941db1a080bc2e19484c98a72c3a8570aa2e35731a48fba60c3cfb652c0ad2c929ae85e187a017dbbf59d4e9f28a5b132c03698f3ba8 0003-tests-fix-addition-of-test-40.patch
e2338f5c3505b54d1c1d2e42ca269688fac4c0b62bd40fadf262d942bb134e722897b7d2767db5fd5c266a512a7c93ad00a2dd74fff619ae941ee1b9b5c0261b 0004-tests-use-better-Makefile-integration-of-test-runnin.patch
415c6b387a1f3b7061de4328a6d00280af735a31655b917f280172adc90ef0b1fd4228690ab3c6ba2f877cc50dd221efc099bd0c5854a32a2d548e79cfbae6eb gcc14.patch
2c0cee6b5bcd5a34eb9580c84881a58b48bd0fb21ea94b57f1936b1c7fae9f943edc69561e9df4c8b3c71347914a130ffb9a9cb8e71ccbdf970f55186c17e9e1 certmonger.initd
c6c819f5d153c24606ce4b888fde68afe8791e4fbadb08217a58ef6def680b6d44d6ff120da7279817f79d44372d0bec80dce6c68cd5abbbef164239bb6eb37f certmonger.confd
"
diff --git a/src/tdbusm.c b/src/tdbusm.c
index 5e33411..fb48feb 100644
--- a/src/tdbusm.c
+++ b/src/tdbusm.c
@@ -241,7 +241,7 @@ cm_tdbusm_get_vn(DBusMessage *msg, void *parent, long *n)
dbus_message_iter_recurse(&iter, &sub_iter);
if (dbus_message_iter_get_arg_type(&sub_iter) == DBUS_TYPE_INT64) {
dbus_message_iter_get_basic(&sub_iter, &i64);
- *n = i64;
+ *n = (long int)i64;
return 0;
}
}
diff --git a/src/util-o.c b/src/util-o.c
index c05872c..7feecb9 100644
--- a/src/util-o.c
+++ b/src/util-o.c
@@ -551,7 +551,7 @@ util_NETSCAPE_SPKI_set_sig_alg(NETSCAPE_SPKI *spki, const X509_ALGOR *sig_alg)
static EVP_PKEY *
util_EVP_PKEY_dup(EVP_PKEY *pkey,
- int (*i2d)(EVP_PKEY *, unsigned char **),
+ int (*i2d)(const EVP_PKEY *, unsigned char **),
EVP_PKEY *(*d2i)(int, EVP_PKEY **, const unsigned char **, long))
{
EVP_PKEY *k;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment