diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:57:13 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:57:13 +0000 |
commit | 500827ed367c8ac277abbd582d389f6738905a09 (patch) | |
tree | 858f2638647a3ae5ad14006f2c3be28bd0456811 /apt-pkg/contrib/configuration.cc | |
parent | 678bc33eaf95356d1b63090d220b65162478b89a (diff) |
Pedantic fixes
Author: jgg
Date: 2001-03-11 07:22:19 GMT
Pedantic fixes
Diffstat (limited to 'apt-pkg/contrib/configuration.cc')
-rw-r--r-- | apt-pkg/contrib/configuration.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |