From c752987457f50c1adf5051e1fd8167a5637f1e34 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 26 Oct 2004 20:03:50 +0000 Subject: "" svn path=/trunk/; revision=2169 --- externals/grill/flext/source/flxlet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'externals/grill/flext/source/flxlet.cpp') 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; -- cgit v1.2.1