about summary refs log tree commit diff
path: root/iconv/skeleton.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/skeleton.c')
-rw-r--r--iconv/skeleton.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index 52c67a2cb9..9554aac2f5 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -307,16 +307,14 @@ FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
 	 beginning, either don't have the minimal number of bytes as a divisor
 	 of the maximum length or have a minimum length of 1.  This is true
 	 for all known and supported encodings.  */
-      int unaligned;
-
-      unaligned = ((FROM_DIRECTION
-		    && ((uintptr_t) inptr % MIN_NEEDED_FROM != 0
-			|| (data->__is_last
-			    && (uintptr_t) outbuf % MIN_NEEDED_TO != 0)))
-		   || (!FROM_DIRECTION
-		       && ((data->__is_last
-			    && (uintptr_t) outbuf % MIN_NEEDED_FROM != 0)
-			   || (uintptr_t) inptr % MIN_NEEDED_TO != 0)));
+      int unaligned = ((FROM_DIRECTION
+			&& ((uintptr_t) inptr % MIN_NEEDED_FROM != 0
+			    || (data->__is_last
+				&& (uintptr_t) outbuf % MIN_NEEDED_TO != 0)))
+		       || (!FROM_DIRECTION
+			   && ((data->__is_last
+				&& (uintptr_t) outbuf % MIN_NEEDED_FROM != 0)
+			       || (uintptr_t) inptr % MIN_NEEDED_TO != 0)));
 # define GEN_unaligned(name) GEN_unaligned2 (name)
 # define GEN_unaligned2(name) name##_unaligned
 #endif