From 934cc4f2d209d0824dc7c1347bdf02b961033970 Mon Sep 17 00:00:00 2001 From: Mark K Cowan Date: Wed, 29 Nov 2017 16:55:27 +0000 Subject: [PATCH] Fixed unnecessary sign conversion --- libuavcan/src/marshal/uc_bit_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libuavcan/src/marshal/uc_bit_stream.cpp b/libuavcan/src/marshal/uc_bit_stream.cpp index 0f4a523684..fba0153fb2 100644 --- a/libuavcan/src/marshal/uc_bit_stream.cpp +++ b/libuavcan/src/marshal/uc_bit_stream.cpp @@ -84,7 +84,7 @@ std::string BitStream::toString() const for (unsigned offset = 0; true; offset++) { uint8_t byte = 0; - if (1U != buf_.read(offset, &byte, 1U)) + if (1 != buf_.read(offset, &byte, 1U)) { break; }