diff options
-rw-r--r-- | lib/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coding.c b/lib/coding.c index 0c0f69c..7821d85 100644 --- a/lib/coding.c +++ b/lib/coding.c @@ -757,7 +757,7 @@ _asn1_ordering_set (unsigned char *der, int der_len, asn1_node node) if (err != ASN1_SUCCESS) goto error; - t = class << 24; + t = ((unsigned int)class) << 24; p_vet->value = t | tag; counter += len2; |