From 1fe0cc869b72eb8354258a6f25476d04149d9785 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 30 Dec 2016 15:58:01 -0500 Subject: [PATCH] Cleared conversion warning under MSVC --- validat0.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validat0.cpp b/validat0.cpp index dda0a0ab..e680a2c6 100644 --- a/validat0.cpp +++ b/validat0.cpp @@ -80,11 +80,11 @@ bool RunASN1TestSet(const ASN1_TestTuple asnTuples[], size_t count) break; case UTF8_STRING: case PRINTABLE_STRING: case IA5_STRING: - BERDecodeTextString(as1, unused2, tag); + BERDecodeTextString(as1, unused2, (byte)tag); break; default: - BERGeneralDecoder(as1, tag); + BERGeneralDecoder(as1, (byte)tag); break; }