diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-11 09:13:04 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-11 09:13:04 +0200 |
commit | c4935e58769966a9b79b21c45798ab8828fe0ad0 (patch) | |
tree | 311116af00c592d8735c7b3ae7d869b4e3a09fbb | |
parent | b2b8239fca576908d0894227109595a32edd4449 (diff) |
Fix: raspberrypi3 AGL Yocto build failure
Wrong callback signature, a type was casted implicitly from
long unsigned int to long long unsigned int (aka uint64_t)
Change-Id: I98a03ccf9e708a60af010bf12bac280dd7f3ea1d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r-- | high-can-binding/high-can-binding-hat.hpp | 2 | ||||
-rw-r--r-- | high-can-binding/high-can-binding.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/high-can-binding/high-can-binding-hat.hpp b/high-can-binding/high-can-binding-hat.hpp index 487ee72..28e8306 100644 --- a/high-can-binding/high-can-binding-hat.hpp +++ b/high-can-binding/high-can-binding-hat.hpp @@ -12,4 +12,4 @@ extern "C" void unsubscribe(afb_req request); void get(afb_req request); void initHigh(); - int ticked(sd_event_source *source, unsigned long t, void *data); + int ticked(sd_event_source *source, uint64_t t, void *data); diff --git a/high-can-binding/high-can-binding.cpp b/high-can-binding/high-can-binding.cpp index 4232ae2..4891f6c 100644 --- a/high-can-binding/high-can-binding.cpp +++ b/high-can-binding/high-can-binding.cpp @@ -57,7 +57,7 @@ void get(afb_req request) /// @brief entry point for systemD timers. Treatment itself is made in High class. /// @param[in] source: systemD timer, t: time of tick, data: interval (ms). -int ticked(sd_event_source *source, long unsigned int t, void* data) +int ticked(sd_event_source *source, uint64_t t, void* data) { high.tick(source, t, data); return 0; |