diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2016-12-30 15:58:01 -0500 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2016-12-30 15:58:01 -0500 |
| commit | 1fe0cc869b72eb8354258a6f25476d04149d9785 (patch) | |
| tree | c936b1b5362c4317a8c0847b4d74138b77655895 /validat0.cpp | |
| parent | 0774818052db7ec4cf7cb9f2659ca6907d0bb521 (diff) | |
| download | cryptopp-git-1fe0cc869b72eb8354258a6f25476d04149d9785.tar.gz | |
Cleared conversion warning under MSVC
Diffstat (limited to 'validat0.cpp')
| -rw-r--r-- | validat0.cpp | 4 |
1 files 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;
}
|
