From: Jason Dillaman Date: Thu, 18 Oct 2018 18:07:36 +0000 (-0400) Subject: include/types: fixed compile warning for signed/unsigned comparison X-Git-Tag: 3.2-0~73^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b765a86345d9528d598ed9f1d8fcbeaeb77a83e6;p=ceph-ci.git include/types: fixed compile warning for signed/unsigned comparison Signed-off-by: Jason Dillaman --- diff --git a/src/include/types.h b/src/include/types.h index 73123bc9733..8103cabbb36 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -158,7 +158,7 @@ inline std::ostream& operator<<(std::ostream& out, const std::deque& v) template inline std::ostream& operator<<(std::ostream& out, const std::tuple &t) { - auto f = [n = sizeof...(Ts), i = 0, &out](const auto& e) mutable { + auto f = [n = sizeof...(Ts), i = 0U, &out](const auto& e) mutable { out << e; if (++i != n) out << ",";