Apparently Windows does not handle 'long' the same as Unix.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Porygon::Utilities {
|
||||
_rng.seed(new_seed);
|
||||
}
|
||||
|
||||
static inline long Get() {
|
||||
static inline int64_t Get() {
|
||||
return _rng.operator()();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Porygon::Utilities{
|
||||
private:
|
||||
static std::wstring_convert<std::codecvt_utf8_utf16<char16_t, 0x10ffff, std::little_endian>, char16_t> to_16;
|
||||
public:
|
||||
inline static std::u16string IntToString(long const &i) {
|
||||
inline static std::u16string IntToString(int64_t const &i) {
|
||||
return to_16.from_bytes(std::to_string(i));
|
||||
}
|
||||
inline static std::u16string FloatToString(double const &i) {
|
||||
|
||||
Reference in New Issue
Block a user