1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-17 17:36:44 +00:00

socket: fix config size calculations

This commit is contained in:
Michael Scire 2021-02-24 03:51:35 -08:00 committed by SciresM
parent 64c7c6b2a5
commit d8faa37de0

View file

@ -21,7 +21,7 @@
namespace ams::socket {
constexpr ALWAYS_INLINE size_t AlignMss(size_t size) {
return util::DivideUp(size, static_cast<size_t>(1500));
return util::DivideUp(size, static_cast<size_t>(1500)) * static_cast<size_t>(1500);
}
class Config {