libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 66385ca7a586d1d4a0a68efe4be667d270127f89
parent ca1942843f7f8c2904eb4321a69568a6ae45b6e8
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 22 Jan 2015 19:58:04 +0000

-ensure '1' is interpreted as uint32_t

Diffstat:
Msrc/include/microhttpd.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -294,7 +294,7 @@ typedef SOCKET MHD_socket; * with the SHOUTcast "ICY" line instad of "HTTP". * @ingroup specialized */ -#define MHD_ICY_FLAG ((uint32_t)(1 << 31)) +#define MHD_ICY_FLAG ((uint32_t)(((uint32_t)1) << 31)) /** * @defgroup headers HTTP headers