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:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user