aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/recorderfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/recorderfile.cpp b/common/recorderfile.cpp
index e6838ed02e..d08bc599f1 100644
--- a/common/recorderfile.cpp
+++ b/common/recorderfile.cpp
@@ -44,7 +44,7 @@ PlaybackFile::PlaybackFile() : _tmpRecordFile(_tmpBuffer, kRecordBuffSize), _tmp
_headerDumped = false;
_recordCount = 0;
_eventsSize = 0;
- memset(_tmpBuffer, kRecordBuffSize, 1);
+ memset(_tmpBuffer, 1, kRecordBuffSize);
}
PlaybackFile::~PlaybackFile() {