1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Author: Gert Wollny <gw.fossdev@gmail.com
Last-Update: Wed, 08 Jan 2014 11:55:33 +0100
Description: Force initialization to unsigned because the conversion is narrowing
Here this is still only a warning but with C++11 this will be an error.
diff -ur -x Makefile.in anfo-0.98/src/anfo-tool.cc anfo-0.98.debian/src/anfo-tool.cc
--- anfo-0.98/src/anfo-tool.cc 2010-09-24 14:18:59.000000000 +0200
+++ anfo-0.98.debian/src/anfo-tool.cc 2014-01-08 11:37:35.884269960 +0100
@@ -461,8 +461,8 @@
{ "output-wiggle", 0 , POPT_ARG_STRING, 0, opt_output_wiggle, "write depth-of-coverage in WIG format to FILE", "FILE" },
{ "duct-tape", 0 , POPT_ARG_STRING, 0, opt_duct_tape, "mock-assemble into contigs named NAME", "NAME" },
- { "set-slope", 0 , POPT_ARG_DFLT, ¶m.slope, 0, "set slope parameter to S", "S" },
- { "set-intercept", 0 , POPT_ARG_DFLT, ¶m.intercept, 0, "set length discount parameter to L", "L" },
+ { "set-slope", 0 , (unsigned)POPT_ARG_DFLT, ¶m.slope, 0, "set slope parameter to S", "S" },
+ { "set-intercept", 0 , (unsigned)POPT_ARG_DFLT, ¶m.intercept, 0, "set length discount parameter to L", "L" },
{ "set-genome", 0 , POPT_ARG_STRING, ¶m.genome, 0, "set interesting genome parameter to G", "G" },
{ "clear-genome", 0 , POPT_ARG_VAL, ¶m.genome, 0, "clear interesting genome parameter", 0 },
|