wok-stable view abiword-plugins/stuff/gcc44.u @ rev 3639
abiword-plugins: fix compile for gcc44
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 03 18:01:23 2009 +0200 (2009-07-03) |
parents | |
children |
line source
1 --- abiword-plugins-2.6.4/tools/abicommand/xp/AbiCommand.cpp
2 +++ abiword-plugins-2.6.4/tools/abicommand/xp/AbiCommand.cpp
3 @@ -551,7 +551,7 @@
4 UT_UTF8String *pCom1 =
5 const_cast < UT_UTF8String * >(static_cast < const UT_UTF8String * >(pToks->getNthItem (1)));
6 printf(" Filename %s \n",pCom1->utf8_str());
7 - char *suffix = rindex (pCom1->utf8_str (), '.');
8 + const char *suffix = rindex (pCom1->utf8_str (), '.');
10 if (suffix != NULL)
11 {