From 008a34ae01a1980c4bfae5baf0c6df2bcd5820db Mon Sep 17 00:00:00 2001 From: Matias Elo Date: Thu, 9 Aug 2018 10:16:46 +0300 Subject: abi: timer: set ODP_TIMER_POOL_INVALID to zero Signed-off-by: Matias Elo Reviewed-by: Petri Savolainen Signed-off-by: Maxim Uvarov --- platform/linux-generic/include-abi/odp/api/abi/timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/linux-generic/include-abi/odp/api/abi') diff --git a/platform/linux-generic/include-abi/odp/api/abi/timer.h b/platform/linux-generic/include-abi/odp/api/abi/timer.h index 49752df7d..c9e415ec5 100644 --- a/platform/linux-generic/include-abi/odp/api/abi/timer.h +++ b/platform/linux-generic/include-abi/odp/api/abi/timer.h @@ -28,7 +28,7 @@ struct timer_pool_s; /**< Forward declaration */ typedef struct timer_pool_s *odp_timer_pool_t; -#define ODP_TIMER_POOL_INVALID NULL +#define ODP_TIMER_POOL_INVALID _odp_cast_scalar(odp_timer_pool_t, 0) #define ODP_TIMER_POOL_NAME_LEN 32 -- cgit v1.2.3