From dcc6ed0e9a0ad8dfc1e4c24526fec46dea077c55 Mon Sep 17 00:00:00 2001 From: stefan <stefan@5a81b35b-ba03-0410-adc8-b2c5c5119f08> Date: Mon, 10 May 2010 08:00:10 +0000 Subject: [PATCH] fixed build warnings (memset) git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2222 5a81b35b-ba03-0410-adc8-b2c5c5119f08 --- modules/qa/src/index.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/qa/src/index.hh b/modules/qa/src/index.hh index 2f67aea95..f2744aa26 100644 --- a/modules/qa/src/index.hh +++ b/modules/qa/src/index.hh @@ -40,7 +40,7 @@ public: memcpy(data_, rhs.data_, sizeof(uint32_t[D])); } IndexBase() { - memset(data_, sizeof(uint32_t[D]), 0); + memset(data_, 0, sizeof(uint32_t[D])); } IndexBase& operator=(const IndexBase& rhs) { memcpy(data_, rhs.data_, sizeof(uint32_t[D])); -- GitLab