aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-06-27 01:03:19 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2013-06-27 01:03:19 +0200
commit1f5e81f8f83087082108cf9449068ec4c2a3125e (patch)
treea3bb9d33dc2da4d68f109aeb18699f5adced15fa /include
parentf6205c6ab786f14e3515dfc0bfdb958ada8ed0e9 (diff)
downloadbusybox-1f5e81f8f83087082108cf9449068ec4c2a3125e.tar.gz
md5/sha512: a better fix for strict aliasing warnings
The locations *are* well-aligned for direct stores on any architecture. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index 917d87dd6..0fa9f6182 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -208,6 +208,7 @@ typedef int bb__aliased_int FIX_ALIASING;
typedef long bb__aliased_long FIX_ALIASING;
typedef uint16_t bb__aliased_uint16_t FIX_ALIASING;
typedef uint32_t bb__aliased_uint32_t FIX_ALIASING;
+typedef uint64_t bb__aliased_uint64_t FIX_ALIASING;
/* NB: unaligned parameter should be a pointer, aligned one -
* a lvalue. This makes it more likely to not swap them by mistake