Code Cleanup

- Guaranteed the correct Config::get call via cast.  There is some
  doubt as to the correct call being made otherwise.  This is not a
  very likely fix, but does eliminate one possibility.
This commit is contained in:
Paul Beckingham
2009-03-29 11:08:32 -04:00
parent 41b60f88d3
commit 7e2bd166fa
3 changed files with 10 additions and 10 deletions

View File

@@ -52,7 +52,7 @@ static std::string shortUsage (Config& conf)
{
std::stringstream out;
Table table;
int width = conf.get ("defaultwidth", 80);
int width = conf.get ("defaultwidth", (int) 80);
#ifdef HAVE_LIBNCURSES
if (conf.get ("curses", true))
{