{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1741355902,"commit_time":1741358580,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"a7c8d2f9bcd882cbe8bd96e1e4da9a36af8950bc","message":"vtls: fix compiler warnings seen with gcc 7.3.0 and mbedTLS\n\nSeen with downloaded mingw 7.3.0 when built against MSYS2 mbedTLS 3.6.2:\n```\nlib/vtls/cipher_suite.c: In function 'cs_zip_to_str':\nlib/vtls/cipher_suite.c:789:16: error: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Werror=conversion]\n   indexes[1] = ((zip[0] << 4) & 0x3F) | zip[1] >> 4;\n                ^\nlib/vtls/cipher_suite.c:790:16: error: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Werror=conversion]\n   indexes[2] = ((zip[1] << 2) & 0x3F) | zip[2] >> 6;\n                ^\nlib/vtls/cipher_suite.c:793:16: error: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Werror=conversion]\n   indexes[5] = ((zip[3] << 4) & 0x3F) | zip[4] >> 4;\n                ^\nlib/vtls/cipher_suite.c:794:16: error: conversion to 'uint8_t {aka unsigned char}' from 'int' may alter its value [-Werror=conversion]\n   indexes[6] = ((zip[4] << 2) & 0x3F) | zip[5] >> 6;\n                ^\n```\nRef: https://github.com/curl/curl/actions/runs/13719756989/job/38372409927?pr=16429#step:10:21\n\nCherry-picked from #16429\nCloses #16614\n","parents":["469c037fcfd0cc07435a38262ab96d1a63e84adc"],"tree_hash":"ee86fd07b4f9258ed0daddb5fb317976e0b90ab1"}