mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2025-02-28 23:41:33 +01:00
use intmax macro instead of numeric_limits because fucking windows gcc can't make use of it of course
This commit is contained in:
parent
9a996f3283
commit
89020df4ba
@ -20,7 +20,7 @@ void copy_sample_at_points(
|
|||||||
if (next != starting_points.end()) {
|
if (next != starting_points.end()) {
|
||||||
return *next;
|
return *next;
|
||||||
} else {
|
} else {
|
||||||
return std::numeric_limits<std::int64_t>::max();
|
return INT64_MAX;
|
||||||
}
|
}
|
||||||
}(it)
|
}(it)
|
||||||
);
|
);
|
||||||
|
@ -35,7 +35,7 @@ void copy_sample_at_points(
|
|||||||
if (next != starting_points.end()) {
|
if (next != starting_points.end()) {
|
||||||
return next->first;
|
return next->first;
|
||||||
} else {
|
} else {
|
||||||
return std::numeric_limits<std::int64_t>::max();
|
return INT64_MAX;
|
||||||
}
|
}
|
||||||
}(it)
|
}(it)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user