Skip to content
Snippets Groups Projects
Commit dcc6ed0e authored by stefan's avatar stefan
Browse files

fixed build warnings (memset)

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2222 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 6bc813aa
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ public: ...@@ -40,7 +40,7 @@ public:
memcpy(data_, rhs.data_, sizeof(uint32_t[D])); memcpy(data_, rhs.data_, sizeof(uint32_t[D]));
} }
IndexBase() { IndexBase() {
memset(data_, sizeof(uint32_t[D]), 0); memset(data_, 0, sizeof(uint32_t[D]));
} }
IndexBase& operator=(const IndexBase& rhs) { IndexBase& operator=(const IndexBase& rhs) {
memcpy(data_, rhs.data_, sizeof(uint32_t[D])); memcpy(data_, rhs.data_, sizeof(uint32_t[D]));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment