diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2004-10-26 20:03:50 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2004-10-26 20:03:50 +0000 |
commit | c752987457f50c1adf5051e1fd8167a5637f1e34 (patch) | |
tree | e78349513f1c0c7f37bd6d96935f90d9c5257e15 /externals/grill/flext/source/flxlet.cpp | |
parent | e44cd51e389696bc871ece7d9ea08d10a683382e (diff) |
""
svn path=/trunk/; revision=2169
Diffstat (limited to 'externals/grill/flext/source/flxlet.cpp')
-rwxr-xr-x | externals/grill/flext/source/flxlet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flxlet.cpp b/externals/grill/flext/source/flxlet.cpp index 1d57177c..f3afb207 100755 --- a/externals/grill/flext/source/flxlet.cpp +++ b/externals/grill/flext/source/flxlet.cpp @@ -22,7 +22,7 @@ flext_base::xlet::xlet(type t,const char *d): tp(t),nxt(NULL) { if(d) { - int ln = strlen(d); + size_t ln = strlen(d); desc = new char[ln+1]; memcpy(desc,d,ln); desc[ln] = 0; @@ -53,7 +53,7 @@ void flext_base::DescXlet(int ix,const char *d,xlet *&root) if(xi) { if(xi->desc) delete[] xi->desc; - int ln = strlen(d); + size_t ln = strlen(d); xi->desc = new char[ln+1]; memcpy(xi->desc,d,ln); xi->desc[ln] = 0; |