summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:56:41 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:56:41 +0000
commit66cadb075ecc27f0a116ef44221c1f15fafda7e7 (patch)
treea307a2e52418acddace372eb23e87313f9e19a6d /apt-pkg/contrib
parent09774285ae6b8743aadb1fbee45c7eeda7bc505a (diff)
Fixed warning
Author: jgg Date: 2001-02-23 06:08:57 GMT Fixed warning
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r--apt-pkg/contrib/strutl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc
index 7175402a7..d7a5925da 100644
--- a/apt-pkg/contrib/strutl.cc
+++ b/apt-pkg/contrib/strutl.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: strutl.cc,v 1.36 2001/02/23 05:45:27 jgg Exp $
+// $Id: strutl.cc,v 1.37 2001/02/23 06:08:57 jgg Exp $
/* ######################################################################
String Util - Some useful string functions.
@@ -893,7 +893,7 @@ bool CheckDomainList(string Host,string List)
continue;
// Match the end of the string..
- if ((Host.size() >= (Cur - List.begin())) &&
+ if ((Host.size() >= (unsigned)(Cur - List.begin())) &&
Cur - Start != 0 &&
stringcasecmp(Host.end() - (Cur - Start),Host.end(),Start,Cur) == 0)
return true;