git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
C++: add 'unsigned int' ctor for 'any'
commitc3bf147b1e8089771ef9855eb60ccf6837f75834 authorAndy Arvanitis <andyarvanitis@gmail.com> dateMon 12 Oct 2015, 14:24 (11 years ago) parentadfd8dc
1 file changed+2−2
pcc/include/purescript.hh+2−2
pcc/include/purescript.hh+2−2
@@ -118,9 +118,9 @@ class any {
118118
119119 public:
120120
121− any(const int val) : type(Type::Integer), i(val) {}
122−
123121 any(const long val) : type(Type::Integer), i(val) {}
122+ any(const int val) : type(Type::Integer), i(val) {}
123+ any(const unsigned int val) : type(Type::Integer), i(val) {}
124124
125125 any(const double val) : type(Type::Double), d(val) {}
126126