From c5fb0111e8e936c9e48acf3e1e16fe04e1e11045 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 18 Oct 2013 17:52:32 +0200 Subject: fix compiler warning --- runtime/stringbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/stringbuf.c b/runtime/stringbuf.c index 6079e685..97bfed40 100644 --- a/runtime/stringbuf.c +++ b/runtime/stringbuf.c @@ -543,7 +543,7 @@ rsRetVal cstrTrimTrailingWhiteSpace(cstr_t *pThis) --i; } /* i now is the new string length! */ - if(i != pThis->iStrLen) { + if(i != (int) pThis->iStrLen) { pThis->iStrLen = i; pThis->pBuf[pThis->iStrLen] = '\0'; /* we always have this space */ } -- cgit v1.2.3