Bug#294919: libgd2-noxpm-dev: Allow const strings to be passed to gdImageStringFT()

2022-01-30 Thread Florian Ernst
On Sat, Feb 12, 2005 at 01:51:42PM +0100, Petter Reinholdtsen wrote: > At the moment, the gcc will issue a warning when using gdImageStringFT() > with const strings. I discovered this while compiling mapserver with > lots of warning flags. > > The declaration in /usr/include/gd.h currently look

Bug#294919: libgd2-noxpm-dev: Allow const strings to be passed to gdImageStringFT()

2005-02-12 Thread Petter Reinholdtsen
Just to make it clear, I would recommend changing the type of the last argument (string) from 'char *' to 'const char *' too. Please change this in the debian package, and try to convice upstream to do the change too. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe.