Apparently Windows does not handle 'long' the same as Unix.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-08-18 10:30:58 +02:00
parent 86d6d5a9cb
commit 2d4d3d8856
12 changed files with 37 additions and 37 deletions

View File

@@ -76,9 +76,9 @@ namespace Porygon::Binder {
};
class BoundLiteralIntegerExpression : public BoundExpression {
const long _value;
const int64_t _value;
public:
BoundLiteralIntegerExpression(long value, unsigned int start, unsigned int length)
BoundLiteralIntegerExpression(int64_t value, unsigned int start, unsigned int length)
: BoundExpression(start, length, make_shared<NumericScriptType>(true, false)),
_value(value) {
}
@@ -89,7 +89,7 @@ namespace Porygon::Binder {
}
[[nodiscard]]
inline long GetValue() const {
inline int64_t GetValue() const {
return _value;
}
};