From c351fdf5397027aa6e52d2dc69f02b4cd436450b Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 18 Sep 2007 13:17:51 +0000 Subject: removed some compiler warnings in regard to signed / unsigned comparison --- stringbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stringbuf.h') 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 -- cgit v1.2.3