1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/wakaama/patches/0015-fixed-alignment-problem-in-lwm2m_data_t.patch
Jose Alamos 82c7eac041 pkg/wakaama: Bump to v1.0
- copy basic objects from client implementation

- fix pkg warnings

- use lwm2m_strdup instead of strdup

- fix alignment problem in lwm2m data struct

- add fix of acc_ctrl object read
2019-02-27 10:48:08 +01:00

33 lines
756 B
Diff

From 5d0fd8783b734e8adeec3b9393e84dc8f4f7eb1e Mon Sep 17 00:00:00 2001
From: Christian Manal <moenoel@informatik.uni-bremen.de>
Date: Wed, 16 May 2018 11:30:02 +0200
Subject: [PATCH] fixed alignment problem in lwm2m_data_t
---
core/liblwm2m.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/liblwm2m.h b/core/liblwm2m.h
index 3f16a6d..53616bf 100644
--- a/core/liblwm2m.h
+++ b/core/liblwm2m.h
@@ -299,7 +299,6 @@ typedef struct _lwm2m_data_t lwm2m_data_t;
struct _lwm2m_data_t
{
- lwm2m_data_type_t type;
uint16_t id;
union
{
@@ -322,6 +321,7 @@ struct _lwm2m_data_t
uint16_t objectInstanceId;
} asObjLink;
} value;
+ lwm2m_data_type_t type;
};
typedef enum
--
2.1.4