summaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorDenys Vlasenko2013-06-29 17:00:22 +0200
committerDenys Vlasenko2013-06-29 17:00:22 +0200
commite73f3c1d3d83699b723251f7e6a981021ce75475 (patch)
treee0272460fb0dbbe33412a09534c088634fd3ed24 /include/platform.h
parent64406a92a054f884747553011d4529103e2900e4 (diff)
downloadbusybox-e73f3c1d3d83699b723251f7e6a981021ce75475.zip
busybox-e73f3c1d3d83699b723251f7e6a981021ce75475.tar.gz
Apply post-1.21.0 patches, bump version to 1.21.11_21_1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h
index 1282306..f4deb30 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -228,7 +228,7 @@ typedef uint32_t bb__aliased_uint32_t FIX_ALIASING;
# define move_from_unaligned32(v, u32p) (memcpy(&(v), (u32p), 4))
# define move_to_unaligned16(u16p, v) do { \
uint16_t __t = (v); \
- memcpy((u16p), &__t, 4); \
+ memcpy((u16p), &__t, 2); \
} while (0)
# define move_to_unaligned32(u32p, v) do { \
uint32_t __t = (v); \