From 93bb291203b126d9d709944aee86848ca26ef1da Mon Sep 17 00:00:00 2001 From: "Dr. Fiemost" Date: Sun, 22 Jan 2017 19:08:31 +0100 Subject: [PATCH] Fix UBSan error --- netlist_sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlist_sim.c b/netlist_sim.c index 45f149e..eacf2af 100644 --- a/netlist_sim.c +++ b/netlist_sim.c @@ -51,7 +51,7 @@ typedef unsigned long long bitmap_t; typedef unsigned int bitmap_t; #define BITMAP_SHIFT 5 #define BITMAP_MASK 31 -#define ONE 1 +#define ONE 1U #endif /* list of nodes that need to be recalculated */