long int overload to make Kayvan's compiler happy.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6960 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-05-14 07:54:12 +00:00
parent 9a3ed31897
commit 33df766284
3 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-05-12 André Pönitz <poenitz@gmx.net>
* tostr.[Ch]: add long int overload
2003-05-12 Alfredo Braunstein <abraunst@libero.it>
* lstrings.[Ch]: compile fix

View File

@ -18,6 +18,14 @@ string const tostr(unsigned int i)
}
string const tostr(long int i)
{
ostringstream os;
os << i;
return STRCONV(os.str());
}
string const tostr(double d)
{
ostringstream os;

View File

@ -28,6 +28,8 @@ string const tostr(int);
///
string const tostr(unsigned int);
///
string const tostr(long int);
///
string const tostr(double);
///
string const tostr(string const & s);