summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/strutl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/contrib/strutl.cc')
-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 17a23709b..1af8c4304 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.28 1999/08/02 03:07:48 jgg Exp $
+// $Id: strutl.cc,v 1.29 1999/08/28 01:49:08 jgg Exp $
/* ######################################################################
String Util - Some usefull string functions.
@@ -713,7 +713,7 @@ static int HexDigit(int c)
bool Hex2Num(const char *Start,const char *End,unsigned char *Num,
unsigned int Length)
{
- if (End - Start != Length*2)
+ if (End - Start != (signed)(Length*2))
return false;
// Convert each digit. We store it in the same order as the string