Changeset 1280 for cpp/frams/util
- Timestamp:
- 09/10/23 01:51:57 (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/util/sstring-simple.cpp
r1130 r1280 78 78 void SString::endWrite(int newlength) 79 79 { 80 if (newlength < 0) newlength = strlen(txt);80 if (newlength < 0) newlength = (int)strlen(txt); 81 81 else 82 82 { … … 95 95 void SString::endAppend(int newappend) 96 96 { 97 if (newappend < 0) endWrite(appending + strlen(txt + appending));97 if (newappend < 0) endWrite(appending + (int)strlen(txt + appending)); 98 98 else endWrite(newappend + appending); 99 99 } … … 104 104 { 105 105 if (!s) return; 106 int x = strlen(s);106 int x = (int)strlen(s); 107 107 if (!x) return; 108 108 append(s, x); … … 137 137 { 138 138 if (!ch) chlen = 0; 139 else if (chlen < 0) chlen = strlen(ch);139 else if (chlen < 0) chlen = (int)strlen(ch); 140 140 if (chlen) 141 141 {
Note: See TracChangeset
for help on using the changeset viewer.