X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/6465356a983ac139f81d3b7913cdb548477c346c..4c63d2152434d7a24cd627ef559f93b096274076:/secure/stpcpy_chk.c diff --git a/secure/stpcpy_chk.c b/secure/stpcpy_chk.c index ad09eca..c452721 100644 --- a/secure/stpcpy_chk.c +++ b/secure/stpcpy_chk.c @@ -34,7 +34,7 @@ __stpcpy_chk (char *dest, const char *src, size_t dstlen) if (__builtin_expect (dstlen < len, 0)) __chk_fail_overflow (); - if (__builtin_expect (__chk_assert_no_overlap, 1)) + if (__builtin_expect (__chk_assert_no_overlap != 0, 1)) __chk_overlap(dest, len, src, len); return retval;