From: Thomas Jarosch Date: Mon, 17 Oct 2011 08:50:11 +0000 (+0200) Subject: Fix signed/unsigned comparison X-Git-Tag: v2.6~37 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=29bc7241749f2ee83a2dcab966440e6509980aa0;p=libi2ncommon Fix signed/unsigned comparison --- diff --git a/src/tracefunc.cpp b/src/tracefunc.cpp index 54a924c..cbdadea 100644 --- a/src/tracefunc.cpp +++ b/src/tracefunc.cpp @@ -78,7 +78,7 @@ static PerThreadContainer *TLS_get_container() * @brief ensures indent level string to exist up to the desired level. * @param level the desired indent level. */ -static void ensure_indent_level(PerThreadContainer *per_thread, int level) +static void ensure_indent_level(PerThreadContainer *per_thread, unsigned int level) { // First initialization? if (per_thread->indents.empty())