diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-05-18 12:49:52 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-05-26 14:11:12 +0200 |
commit | 27ca67f0df6c7b606c8496b1c57434032b2a577c (patch) | |
tree | 54ca4304599841dfac8aa7e6a95a64d685c034e0 /src/nxt_http_source.c | |
parent | 6271479610c95d40daf9ed6ec2c7dead67c74f00 (diff) | |
download | unit-27ca67f0df6c7b606c8496b1c57434032b2a577c.tar.gz unit-27ca67f0df6c7b606c8496b1c57434032b2a577c.tar.bz2 |
Added const to remove unnecessary casts.
Casts are usually very dangerous, disabling most compiler warnings
and basically removing type safety. This change adds 'const' to a
pointer where we don't need to write, improving type safety, and
that also allows removing some casts.
Diffstat (limited to 'src/nxt_http_source.c')
0 files changed, 0 insertions, 0 deletions