1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/wakaama/patches/0011-fixed-warnings-in-objects.c.patch
Christian Manal bc62f54146 pkg: wakaama: Fix and update wakaama package to version fe48d45
* Fix the not updated `PKG_TEMP_DIR` to `PKG_BUILDDIR`
* Bump the version
* Make the patches apply and fix warnings/errors
2017-11-29 17:03:14 +01:00

26 lines
721 B
Diff

From e3242ed0be22664d0c34f9fb5a1f363df24701f9 Mon Sep 17 00:00:00 2001
From: Christian Manal <moenoel@informatik.uni-bremen.de>
Date: Wed, 29 Nov 2017 16:31:40 +0100
Subject: [PATCH 11/12] fixed warnings in objects.c
---
core/objects.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/objects.c b/core/objects.c
index f9b8962..e5a0edc 100644
--- a/core/objects.c
+++ b/core/objects.c
@@ -528,7 +528,7 @@ int object_getRegisterPayloadBufferLength(lwm2m_context_t * contextP)
size_t index;
int result;
lwm2m_object_t * objectP;
- char buffer[REG_OBJECT_MIN_LEN + 5];
+ uint8_t buffer[REG_OBJECT_MIN_LEN + 5];
LOG("Entering");
index = strlen(REG_START);
--
2.1.4