diff options
-rw-r--r-- | Layout/LayoutDemoSampling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Layout/LayoutDemoSampling.cpp b/Layout/LayoutDemoSampling.cpp index 14a4cf7..c88acee 100644 --- a/Layout/LayoutDemoSampling.cpp +++ b/Layout/LayoutDemoSampling.cpp @@ -67,7 +67,7 @@ void LayoutDemoSampling::updateInterval(uint32_t seconds) { size_t size; memset(buf, ' ', sizeof(buf)); - writeField(_fInfo, buf, size, true); + writeField(_fInfo, buf, sizeof(buf), true); memset(buf, 0, sizeof(buf)); if (seconds < 60) |