]> git.lyx.org Git - lyx.git/blobdiff - src/support/StrPool.C
lyx-devel.diff
[lyx.git] / src / support / StrPool.C
index 0fc53402ccff589e3de7f207361f292176e86032..7dd6168f171ba66d7daf67192c3c4137f7dbc47b 100644 (file)
@@ -31,7 +31,7 @@ StrPool::~StrPool()
 */
 char const * StrPool::add(string const & str)
 {
-       int s = str.length();
+       string::size_type s = str.length();
         char * buf = new char [s + 1];
         str.copy(buf, s);
         buf[s] = '\0';