[gl2ps] Missing const in gl2psPrintPostScriptDash parameter found by latest gcc

Travis Cobbs tcobbs at gmail.com
Sun May 11 00:40:15 CEST 2008


The last parameter of gl2psPrintPostScriptDash should be const char *,
instead of char *.  The latest gcc spits out warnings when you use literal
strings in locations that aren't const, and gl2psPrintPostScriptDash is
called with "setdash" and "d" as the last parameter.  I made this change in
my local code, and the warning went away, and it didn't produce a compile
error.

--Travis Cobbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gl2ps/attachments/20080510/42167e86/attachment.html>