aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-04-05 14:08:01 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-04-05 14:08:01 +0300
commitf37c98c5cf3d75c430fb561baad277eb9d5cde15 (patch)
treeaf572cf8bd37567f7fff3304cb83766f5bfce7e6 /src/microhttpd
parent79c6f9d5246e941cadcb293fb88962e3cbee4c01 (diff)
downloadlibmicrohttpd-f37c98c5cf3d75c430fb561baad277eb9d5cde15.tar.gz
libmicrohttpd-f37c98c5cf3d75c430fb561baad277eb9d5cde15.zip
memorypool: fixed wrong pointer comparison introduced by 3444792f14d96a58648add92b8f3b70e4babf772
Diffstat (limited to 'src/microhttpd')
-rw-r--r--src/microhttpd/memorypool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/memorypool.c b/src/microhttpd/memorypool.c
index 96515e89..cd358f95 100644
--- a/src/microhttpd/memorypool.c
+++ b/src/microhttpd/memorypool.c
@@ -125,7 +125,7 @@
125 * Boolean 'true' if the first pointer is less or equal the second pointer 125 * Boolean 'true' if the first pointer is less or equal the second pointer
126 */ 126 */
127#define mp_ptr_le_(p1,p2) \ 127#define mp_ptr_le_(p1,p2) \
128 (((uintptr_t)((const void*)(p1))) <= ((uintptr_t)((const void*)(p1)))) 128 (((uintptr_t)((const void*)(p1))) <= ((uintptr_t)((const void*)(p2))))
129/** 129/**
130 * The difference in bytes between positions of the first and 130 * The difference in bytes between positions of the first and
131 * the second pointers 131 * the second pointers