poly1305/asm/poly1305-x86_64.pl: switch to pure AVX512F.
[openssl.git] / apps / apps.c
index e25739e43fddaf648804e909e67284b30d172b5a..fd8156744efc951eead557db98a96fc356d6f384 100644 (file)
@@ -1926,7 +1926,7 @@ unsigned char *next_protos_parse(size_t *outlen, const char *in)
                 OPENSSL_free(out);
                 return NULL;
             }
-            out[start] = i - start;
+            out[start] = (unsigned char)(i - start);
             start = i + 1;
         } else {
             out[i + 1] = in[i];