diff --git a/workspace/__lib__/xod/core/pad-with-zeroes/patch.cpp b/workspace/__lib__/xod/core/pad-with-zeroes/patch.cpp index 02567275..4a5462c8 100644 --- a/workspace/__lib__/xod/core/pad-with-zeroes/patch.cpp +++ b/workspace/__lib__/xod/core/pad-with-zeroes/patch.cpp @@ -13,7 +13,7 @@ void evaluate(Context ctx) { auto state = getState(ctx); auto num = (getValue(ctx) == 0) ? 0 : abs(getValue(ctx)); - int8_t lenFull = (getValue(ctx) < 0) ? 0 : min(15, getValue(ctx)); + int8_t lenFull = (getValue(ctx) < 0) ? 0 : min((Number)15, getValue(ctx)); char strNum[16]; dtostrf(num, 0, 0, strNum);