Fix swapped parameters in memset call

This commit is contained in:
Olly Betts 2015-05-12 14:20:11 +12:00
commit e796ecaa23

View file

@ -214,7 +214,7 @@ namespace Swig {
bool array_[N]; bool array_[N];
public: public:
BoolArray() { BoolArray() {
memset(array_, sizeof(array_), 0); memset(array_, 0, sizeof(array_));
} }
bool& operator[](size_t n) { bool& operator[](size_t n) {
return array_[n]; return array_[n];