aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libtomcrypt/src/pk/asn1/der_encode_set.c2
-rw-r--r--src/libtomcrypt/src/pk/asn1/der_encode_setof.c2
2 files changed, 2 insertions, 2 deletions
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;