diff --git a/simplicity-sys/depend/simplicity/bounded.h b/simplicity-sys/depend/simplicity/bounded.h index 2f979edb..e0b84a8b 100644 --- a/simplicity-sys/depend/simplicity/bounded.h +++ b/simplicity-sys/depend/simplicity/bounded.h @@ -4,9 +4,10 @@ #include #include -typedef uint_least32_t ubounded; #define UBOUNDED_MAX UINT32_MAX +typedef uint_least32_t ubounded; + static inline ubounded max(ubounded x, ubounded y) { return x <= y ? y : x; }