diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-07 18:58:49 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-11-13 20:21:39 (GMT) |
commit | 0fea3d4ca57187f271d7580ff16f32b7ab4657df (patch) | |
tree | 867c49d9450eeb9ec85d1ec36a4dd71caa91d007 /qtools/qcstring.h | |
parent | 475b0c51847271b04cb0e58254bd7e420445250b (diff) | |
download | Doxygen-0fea3d4ca57187f271d7580ff16f32b7ab4657df.zip Doxygen-0fea3d4ca57187f271d7580ff16f32b7ab4657df.tar.gz Doxygen-0fea3d4ca57187f271d7580ff16f32b7ab4657df.tar.bz2 |
Introduced template directory for template and resource files and resource compiler & manager
Diffstat (limited to 'qtools/qcstring.h')
-rw-r--r-- | qtools/qcstring.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qtools/qcstring.h b/qtools/qcstring.h index 6930718..bc3a091 100644 --- a/qtools/qcstring.h +++ b/qtools/qcstring.h @@ -297,7 +297,7 @@ public: { if (!str) return *this; int len1 = length(); - int len2 = strlen(str); + int len2 = (int)strlen(str); resize(len1+len2+1); memcpy(data()+len1,str,len2); return *this; @@ -467,7 +467,7 @@ public: { if (str) { - int len = strlen(str); + int len = (int)strlen(str); u.s.isShort = len<SHORT_STR_CAPACITY; if (len<SHORT_STR_CAPACITY) { @@ -489,7 +489,7 @@ public: { if (str && maxlen>0) { - uint len=strlen(str); + uint len=(uint)strlen(str); if (len>maxlen) len=maxlen; u.s.isShort = len<=SHORT_STR_MAX_LEN; if (u.s.isShort) @@ -543,7 +543,7 @@ public: } if (str) { - int len = strlen(str); + int len = (int)strlen(str); u.s.isShort = len<SHORT_STR_CAPACITY; if (len<SHORT_STR_CAPACITY) { |