From 500827ed367c8ac277abbd582d389f6738905a09 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:57:13 +0000 Subject: Pedantic fixes Author: jgg Date: 2001-03-11 07:22:19 GMT Pedantic fixes --- apt-pkg/contrib/configuration.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apt-pkg/contrib/configuration.cc') diff --git a/apt-pkg/contrib/configuration.cc b/apt-pkg/contrib/configuration.cc index e15bc67ca..97d99210f 100644 --- a/apt-pkg/contrib/configuration.cc +++ b/apt-pkg/contrib/configuration.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: configuration.cc,v 1.18 2001/03/05 21:09:12 jgg Exp $ +// $Id: configuration.cc,v 1.19 2001/03/11 07:22:19 jgg Exp $ /* ###################################################################### Configuration Class @@ -276,7 +276,7 @@ string Configuration::FindAny(const char *Name,const char *Default) const case 'i': { char buf[16]; - snprintf(buf, sizeof(buf)-1, "%d", FindI(key, Default)); + snprintf(buf, sizeof(buf)-1, "%d", FindI(key, atoi(Default))); return buf; } } -- cgit v1.2.3