From bf0813cde040efd6ba74fc4947ed0531493084d0 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 13 Dec 2017 22:50:32 +0100 Subject: Fix wrong timestamp type use to retrieve value. Change-Id: I884a7957325a57a97dd562d620e11167f452edf2 Signed-off-by: Romain Forlot --- plugins/low-can.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/low-can.cpp b/plugins/low-can.cpp index 011b9a9..27089e1 100644 --- a/plugins/low-can.cpp +++ b/plugins/low-can.cpp @@ -138,7 +138,7 @@ CTLP_CAPI (isOpen, source, argsJ, eventJ) { struct signalCBT* context = reinterpret_cast(source->context); struct pluginCtxT* pluginCtx = reinterpret_cast(context->pluginCtx); - int err = wrap_json_unpack(eventJ, "{ss,sb,s?F}", + int err = wrap_json_unpack(eventJ, "{ss,sb,s?I}", "name", &eventName, "value", &eventStatus, "timestamp", ×tamp); -- cgit 1.2.3-korg