mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2025-02-28 15:30:32 +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()) {
|
||||
return *next;
|
||||
} else {
|
||||
return std::numeric_limits<std::int64_t>::max();
|
||||
return INT64_MAX;
|
||||
}
|
||||
}(it)
|
||||
);
|
||||
|
@ -35,7 +35,7 @@ void copy_sample_at_points(
|
||||
if (next != starting_points.end()) {
|
||||
return next->first;
|
||||
} else {
|
||||
return std::numeric_limits<std::int64_t>::max();
|
||||
return INT64_MAX;
|
||||
}
|
||||
}(it)
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user