summaryrefslogtreecommitdiff
path: root/include/fortify-headers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fortify-headers.h')
-rw-r--r--include/fortify-headers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fortify-headers.h b/include/fortify-headers.h
index b5c8bc0..a8f76cc 100644
--- a/include/fortify-headers.h
+++ b/include/fortify-headers.h
@@ -134,8 +134,8 @@
134 * since gcc seems to like to generate code that relies on dst == src */ 134 * since gcc seems to like to generate code that relies on dst == src */
135#define __fh_overlap(a, len_a, b, len_b) \ 135#define __fh_overlap(a, len_a, b, len_b) \
136 ( \ 136 ( \
137 ((char*)(a) < (char*)(b) && (char*)(b) < ((char*)(a) + (__fh_size_t)(len_a))) \ 137 ((const char*)(a) < (const char*)(b) && (const char*)(b) < ((const char*)(a) + (__fh_size_t)(len_a))) \
138 || ((char*)(b) < (char*)(a) && (char*)(a) < ((char*)(b) + (__fh_size_t)(len_b))) \ 138 || ((const char*)(b) < (const char*)(a) && (const char*)(a) < ((const char*)(b) + (__fh_size_t)(len_b))) \
139 ) 139 )
140 140
141/* 141/*