From 0c05d9196b55e65f5014dac66ec65be48cbe2453 Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Wed, 17 Jun 2020 17:37:16 +0200 Subject: Fixed calling convention --- src/libtomcrypt/src/pk/asn1/der_encode_set.c | 2 +- src/libtomcrypt/src/pk/asn1/der_encode_setof.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/libtomcrypt/src/pk/asn1/der_encode_set.c b/src/libtomcrypt/src/pk/asn1/der_encode_set.c index a7250fb..25d247d 100644 --- a/src/libtomcrypt/src/pk/asn1/der_encode_set.c +++ b/src/libtomcrypt/src/pk/asn1/der_encode_set.c @@ -40,7 +40,7 @@ static int ltc_to_asn1(int v) } -static int __cdecl qsort_helper1(const void *a, const void *b) +static int LTC_CALL qsort_helper1(const void *a, const void *b) { ltc_asn1_list *A = (ltc_asn1_list *)a, *B = (ltc_asn1_list *)b; int r; diff --git a/src/libtomcrypt/src/pk/asn1/der_encode_setof.c b/src/libtomcrypt/src/pk/asn1/der_encode_setof.c index cd63285..0987cab 100644 --- a/src/libtomcrypt/src/pk/asn1/der_encode_setof.c +++ b/src/libtomcrypt/src/pk/asn1/der_encode_setof.c @@ -22,7 +22,7 @@ struct edge { unsigned long size; }; -static int __cdecl qsort_helper2(const void *a, const void *b) +static int LTC_CALL qsort_helper2(const void *a, const void *b) { struct edge *A = (struct edge *)a, *B = (struct edge *)b; int r; -- cgit v1.2.3