FastLED 3.10.8
Loading...
Searching...
No Matches

◆ is_i64_out_of_range() [1/2]

fl::enable_if< fl::is_signed< Target >::value, bool >::type fl::int_conversion_visitor< i64 >::is_i64_out_of_range ( const i64 & value)
inline

Definition at line 168 of file types.h.

168 {
169 const i64 min_val = static_cast<i64>((fl::numeric_limits<Target>::min)());
170 const i64 max_val = static_cast<i64>((fl::numeric_limits<Target>::max)());
172 FL_WARN("JSON integer overflow: value " << value << " does not fit in target type (range: " << min_val << " to " << max_val << "), truncating");
173 return true;
174 }
175 return false;
176 }
#define FL_WARN(...)
Definition log.h:437