The official NGINX Open Source repository.
Go to file
Maxim Dounin a77cef0995 Removed casts from ngx_memcmp() macro.
Casts are believed to be not needed, since memcmp() has "const void *"
arguments since introduction of the "void" type in C89.  And on pre-C89
platforms nginx is unlikely to compile without warnings anyway, as there
are no casts in memcpy() and memmove() calls.

These casts were added in 1648:89a47f19b9ec without any details on why they
were added, and Igor does not remember details either.  The most plausible
explanation is that they were copied from ngx_strcmp() and were not really
needed even at that time.

Prodded by Alejandro Colomar.
2022-11-30 18:01:53 +03:00
auto Win32: disabled threads support in OpenSSL builds. 2022-09-07 00:47:31 +03:00
conf MIME: added image/avif type. 2021-10-25 20:49:15 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2022-06-18 15:54:40 +03:00
docs nginx-1.23.2-RELEASE 2022-10-19 10:56:20 +03:00
misc Updated OpenSSL used for win32 builds. 2022-07-19 17:03:30 +03:00
src Removed casts from ngx_memcmp() macro. 2022-11-30 18:01:53 +03:00
.hgtags release-1.23.2 tag 2022-10-19 10:56:21 +03:00