Searched hist:2105 (Results 1 – 1 of 1) sorted by relevance
/unit/src/ |
H A D | nxt_sprintf.c | diff 2105:428699bc12f7 Tue May 17 22:49:00 UTC 2022 Alejandro Colomar <alx.manpages@gmail.com> 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.
|