From 2b2df55eb391beebaec438be69295bc053d698b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Adamczewski-Musch?= Date: Fri, 27 Nov 2015 10:13:54 +0100 Subject: [PATCH] hadaq eventbuilder: corrected wrong return type at event header setter methods to suppress compiler warnings. --- hadaq/evt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadaq/evt.h b/hadaq/evt.h index 0cc2a87..6175c4b 100644 --- a/hadaq/evt.h +++ b/hadaq/evt.h @@ -65,12 +65,12 @@ static int Evt_dataError(const void *my) void Evt_setId(void *my, uint32_t id); -static int Evt_setDataError(void *my) +static void Evt_setDataError(void *my) { Evt_setId(my, Evt_id(my) | 0x80000000UL); } -static int Evt_clrDataError(void *my) +static void Evt_clrDataError(void *my) { Evt_setId(my, Evt_id(my) & ~0x80000000UL); } -- 2.43.0