-// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
- * Copyright 2000 Jean-Marc Lasgouttes
+ * Copyright 2000-2001 Jean-Marc Lasgouttes
*
* ======================================================*/
*/
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';