From 38a7a5f07502cf94dd67b3896b45db2482b502a7 Mon Sep 17 00:00:00 2001 From: Alexis Engelke Date: Thu, 6 Jan 2022 09:55:29 +0100 Subject: [PATCH] format: Fix cast alignment warning for __m128i --- format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.c b/format.c index 0111bb7..e859f08 100644 --- a/format.c +++ b/format.c @@ -59,7 +59,7 @@ fd_strpcatnum(char dst[static 18], uint64_t val) { __m128i ma = _mm_add_epi8(mn, mgtm); __m128i msw = _mm_shufflehi_epi16(_mm_shufflelo_epi16(ma, 0x1b), 0x1b); __m128i ms = _mm_shuffle_epi32(msw, 0x4e); - _mm_storeu_si128((__m128i*) (dst + 2), ms); + _mm_storeu_si128((__m128i_u*) (dst + 2), ms); #else unsigned idx = numbytes + 2; do {