mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
741948e903
commit
1c0c1a1952
@ -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
|
||||
|
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user