aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2020-06-17 17:37:16 +0200
committerLadislav Zezula <zezula@volny.cz>2020-06-17 17:37:16 +0200
commit0c05d9196b55e65f5014dac66ec65be48cbe2453 (patch)
tree835d377b73de64d6e903495a62d426c219f2d0be
parent0bed08c704496c9724de7a3ad88b4a1358d26ac1 (diff)
Fixed calling convention
-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;