Minor source reorganization; few dangerous C functions replaced with safer std:: alternatives

This commit is contained in:
Pavel Kirienko
2014-02-01 19:00:05 +04:00
parent b385ffb12e
commit 00b977eb40
9 changed files with 43 additions and 40 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ std::string CanFrame::toString(StringRepresentation mode) const
char buf[50];
char* wpos = buf, *epos = buf + sizeof(buf);
memset(buf, 0, sizeof(buf));
std::fill(buf, buf + sizeof(buf), 0);
if (id & FLAG_EFF)
{