summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/low-can.cpp2
1 files changed, 1 insertions, 1 deletions
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<struct signalCBT*>(source->context);
struct pluginCtxT* pluginCtx = reinterpret_cast<struct pluginCtxT*>(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", &timestamp);