From 7e31b877fc5d81c256f024cbc376a118bcda6643 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Mon, 14 Nov 2022 10:47:10 +0100 Subject: [PATCH] [winpr, tests] Fixed ASN unit test const warning --- winpr/libwinpr/utils/test/TestASN1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winpr/libwinpr/utils/test/TestASN1.c b/winpr/libwinpr/utils/test/TestASN1.c index 24125875e..23084d009 100644 --- a/winpr/libwinpr/utils/test/TestASN1.c +++ b/winpr/libwinpr/utils/test/TestASN1.c @@ -130,7 +130,7 @@ int TestASN1Read(int argc, char* argv[]) } static const BYTE oid1_val[] = { 1 }; -static const WinPrAsn1_OID oid1 = { sizeof(oid1_val), (BYTE*)oid1_val }; +static const WinPrAsn1_OID oid1 = { sizeof(oid1_val), (const BYTE*)oid1_val }; static BYTE oid2_val[] = { 2, 2 }; static WinPrAsn1_OID oid2 = { sizeof(oid2_val), oid2_val }; static BYTE oid3_val[] = { 3, 3, 3 };