a better fix for unsigned/signed warning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9124 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2004-10-25 08:30:51 +00:00
parent 741948e903
commit 1c0c1a1952
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* sgml.C (escapeString): fix warning in a better way
2004-10-25 José Matos <jamatos@lyx.org>
* sgml.C (escapeString): import the require boosts header file for

View File

@ -24,6 +24,7 @@
#include "support/tostr.h"
#include <boost/tuple/tuple.hpp>
#include <sstream>
using lyx::support::subst;
@ -101,7 +102,7 @@ string escapeString(string const & raw)
{
ostringstream bin;
for(unsigned int i=0; i < raw.size(); ++i) {
for(string::size_type i = 0; i < raw.size(); ++i) {
bool ws;
string str;
boost::tie(ws, str) = sgml::escapeChar(raw[i]);