From 6b05eb8d9360408499d9e6bae65e6a967ee100c3 Mon Sep 17 00:00:00 2001 From: Alexandr <a.lyapunov@corp.mail.ru> Date: Tue, 27 Jan 2015 16:49:25 +0300 Subject: [PATCH] fixed light compilation on 32 bit platform --- src/lib/salad/light.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/salad/light.h b/src/lib/salad/light.h index bb418ea47d..bd3c139ccf 100644 --- a/src/lib/salad/light.h +++ b/src/lib/salad/light.h @@ -112,7 +112,10 @@ struct LIGHT(record) { /* slot of the next record in chain */ uint32_t next; /* the value */ - LIGHT_DATA_TYPE value; + union { + LIGHT_DATA_TYPE value; + uint64_t uint64_padding; + }; }; /** -- GitLab