wok view abiword-plugins/stuff/gcc44.u @ rev 4265

procmail: fix build with glibc-2.10
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 25 17:12:16 2009 +0200 (2009-09-25)
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 {