Fix cppcheck warnings. No functional change intended.

This commit is contained in:
Wilson Snyder
2018-06-14 18:59:24 -04:00
parent 5d26bca55c
commit 0eb1d0a84e
14 changed files with 34 additions and 18 deletions
+1 -1
View File
@@ -569,7 +569,7 @@ void VerilatedVcd::declare (vluint32_t code, const char* name, const char* wirep
sprintf(buf, " %2d ", bits);
decl += buf;
if (m_evcd) {
sprintf(buf, "<%d", code);
sprintf(buf, "<%u", code);
decl += buf;
} else {
decl += stringCode(code);