summaryrefslogtreecommitdiffstats
path: root/stringbuf.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-09-18 13:17:51 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-09-18 13:17:51 +0000
commitc351fdf5397027aa6e52d2dc69f02b4cd436450b (patch)
treefca0876a01922384529f0a7c57bb1bef3997b5ba /stringbuf.h
parentaebd480be7149d51c628fe50531a3bd359550a82 (diff)
downloadrsyslog-c351fdf5397027aa6e52d2dc69f02b4cd436450b.tar.gz
rsyslog-c351fdf5397027aa6e52d2dc69f02b4cd436450b.tar.xz
rsyslog-c351fdf5397027aa6e52d2dc69f02b4cd436450b.zip
removed some compiler warnings in regard to signed / unsigned comparison
Diffstat (limited to 'stringbuf.h')
-rwxr-xr-xstringbuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stringbuf.h b/stringbuf.h
index 96e78164..2c3f4c3a 100755
--- a/stringbuf.h
+++ b/stringbuf.h
@@ -125,7 +125,7 @@ int rsCStrSzStrMatchRegex(rsCStrObj *pCS1, uchar *psz);
/* now come inline-like functions */
#ifdef NDEBUG
-# define rsCStrLen(x) ((x)->iStrLen)
+# define rsCStrLen(x) ((int)((x)->iStrLen))
#else
int rsCStrLen(rsCStrObj *pThis);
#endif