diff options
| author | Aleksei Bavshin <a.bavshin@nginx.com> | 2025-12-23 10:44:13 -0800 |
|---|---|---|
| committer | Roman Arutyunyan <arutyunyan.roman@gmail.com> | 2026-02-04 21:22:23 +0400 |
| commit | dc50b86db8844f3c243ac374fb08beb79495f3cf (patch) | |
| tree | d87bb13c5eec7a1a10fa43fd72709d2759b1891d /src/misc/ngx_cpp_test_module.cpp | |
| parent | c9e4b6a5cada25991f8d21ae7f8341647e37cec8 (diff) | |
| download | nginx-dc50b86db8844f3c243ac374fb08beb79495f3cf.tar.gz nginx-dc50b86db8844f3c243ac374fb08beb79495f3cf.tar.bz2 | |
Win32: fixed C4319 warning with MSVC 2022 x86.
The warning started to appear in Visual Studio 2022 version 17.14.21,
which corresponds to the C/C++ compiler version 19.44.35221.
The appropriate fix is to avoid mixing uint64_t and ngx_uint_t in an
expression with bitwise operations. We can do that here because both
the original shm->size value and the result of the expression are 32-bit
platform words.
Diffstat (limited to 'src/misc/ngx_cpp_test_module.cpp')
0 files changed, 0 insertions, 0 deletions
