blob: 4c7f124c5e3d41327b5d5b2d3d8c47ab8f3e1a38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -ur piler.orig/gff.cpp piler/gff.cpp
--- piler.orig/gff.cpp 2004-12-18 01:25:29.000000000 +0200
+++ piler/gff.cpp 2009-08-09 17:22:33.000000000 +0300
@@ -70,7 +70,7 @@
const char *Attrs = Fields[8];
// Truncate attrs if comment found
- char *Pound = strchr(Attrs, '#');
+ char *Pound = const_cast <char*> (strchr(Attrs, '#'));
if (0 != Pound)
*Pound = 0;
|