summaryrefslogtreecommitdiffstats
path: root/qtools/qcstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtools/qcstring.h')
-rw-r--r--qtools/qcstring.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtools/qcstring.h b/qtools/qcstring.h
index 1e5f6f8..bbe8700 100644
--- a/qtools/qcstring.h
+++ b/qtools/qcstring.h
@@ -87,10 +87,10 @@ Q_EXPORT void *qmemmove( void *dst, const void *src, uint len );
Q_EXPORT char *qstrdup( const char * );
Q_EXPORT inline uint cstrlen( const char *str )
-{ return strlen(str); }
+{ return (uint)strlen(str); }
Q_EXPORT inline uint qstrlen( const char *str )
-{ return str ? strlen(str) : 0; }
+{ return str ? (uint)strlen(str) : 0; }
Q_EXPORT inline char *cstrcpy( char *dst, const char *src )
{ return strcpy(dst,src); }