about summary refs log tree commit diff
path: root/locale/loadlocale.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/loadlocale.c')
-rw-r--r--locale/loadlocale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/loadlocale.c b/locale/loadlocale.c
index 4aacbc9d26..8c7afda8ea 100644
--- a/locale/loadlocale.c
+++ b/locale/loadlocale.c
@@ -217,7 +217,7 @@ _nl_load_locale (struct loaded_l10nfile *file, int category)
 	}
       if (__builtin_expect (_nl_value_types[category][cnt] == word, 0))
 	{
-	  assert (idx % 4 == 0);
+	  assert (idx % __alignof__ (u_int32_t) == 0);
 	  newdata->values[cnt].word =
 	    *((u_int32_t *) (newdata->filedata + idx));
 	}