[PATCH 12/12] record: Increase input buffer and alignment

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Mar 16 10:50:32 UTC 2020


Update #3904.
---
 trace/record/record-client-base.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/trace/record/record-client-base.cc b/trace/record/record-client-base.cc
index f022db4..fa75f53 100644
--- a/trace/record/record-client-base.cc
+++ b/trace/record/record-client-base.cc
@@ -170,7 +170,7 @@ void Client::Run() {
   }
 
   while (stop_ == 0 && todo > 0) {
-    int buf[8192];
+    long buf[8192];
     size_t m = std::min(static_cast<uint64_t>(sizeof(buf)), todo);
     ssize_t n = input_.Read(buf, m);
     if (n <= 0) {
-- 
2.16.4



More information about the devel mailing list