summaryrefslogtreecommitdiffstats
path: root/stringbuf.h
diff options
context:
space:
mode:
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