]> git.ipfire.org Git - thirdparty/curl.git/commit
cfilters: silence compiler warning
authorViktor Szakats <commit@vsz.me>
Tue, 4 Feb 2025 17:29:24 +0000 (18:29 +0100)
committerViktor Szakats <commit@vsz.me>
Wed, 5 Feb 2025 00:12:18 +0000 (01:12 +0100)
commitad9a8b77548f0b79cb7f198260ced5e129e80845
tree9f3756934df813cc34ae8673a7a83f3615803d2e
parentc9afcecee94284e754d82354c79e4e37f09bff61
cfilters: silence compiler warning

seen with gcc 4.4.0:
```
../../lib/cfilters.c: In function 'Curl_conn_http_version':
../../lib/cfilters.c:523: error: conversion to 'unsigned char' from 'int' may alter its value
```
Ref: https://github.com/curl/curl/actions/runs/13124120573/job/36616761121?pr=15975#step:9:20

Follow-up to e83818cae1da495939aee5def1172ca1d20cc1e4 #16073

Closes #16171
lib/cfilters.c