aboutsummaryrefslogtreecommitdiff
path: root/iconv/loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/loop.c')
-rw-r--r--iconv/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/loop.c b/iconv/loop.c
index ffdd24d..c8f8934 100644
--- a/iconv/loop.c
+++ b/iconv/loop.c
@@ -307,7 +307,7 @@ SINGLE(LOOPFCT) (const unsigned char **inptrp, const unsigned char *inend,
#endif
/* Are there enough bytes in the input buffer? */
- if (inptr + (MAX_NEEDED_INPUT - inlen) > inend)
+ if (__builtin_expect (inptr + (MAX_NEEDED_INPUT - inlen) > inend, 0))
{
#ifdef STORE_REST
*inptrp = inend;