about summary refs log tree commit diff
path: root/string/bits
diff options
context:
space:
mode:
Diffstat (limited to 'string/bits')
-rw-r--r--string/bits/string2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/bits/string2.h b/string/bits/string2.h
index 6c56c63cc1..da168facc2 100644
--- a/string/bits/string2.h
+++ b/string/bits/string2.h
@@ -202,7 +202,7 @@ __STRING2_COPY_TYPE (8);
 #    define __mempcpy(dest, src, n) \
   (__extension__ (__builtin_constant_p (src) && __builtin_constant_p (n)      \
 		  && __string2_1bptr_p (src) && n <= 8			      \
-		  ? __builtin_memcpy (dest, src, n) + n			      \
+		  ? __builtin_memcpy (dest, src, n) + (n)		      \
 		  : __mempcpy (dest, src, n)))
 #   else
 #    define __mempcpy(dest, src, n) \