diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-18 17:52:32 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-18 17:52:32 +0200 |
commit | c5fb0111e8e936c9e48acf3e1e16fe04e1e11045 (patch) | |
tree | 683490e9dcdf3591d9bf76ddbe981c7d6bd5b768 /runtime/stringbuf.c | |
parent | ee0feecceaf0082b307be78198a672cb3ad78f46 (diff) | |
download | rsyslog-c5fb0111e8e936c9e48acf3e1e16fe04e1e11045.tar.gz rsyslog-c5fb0111e8e936c9e48acf3e1e16fe04e1e11045.tar.bz2 rsyslog-c5fb0111e8e936c9e48acf3e1e16fe04e1e11045.zip |
fix compiler warning
Diffstat (limited to 'runtime/stringbuf.c')
-rw-r--r-- | runtime/stringbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ } |