diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:54:37 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:54:37 +0000 |
commit | bf3abeedae8085fc1ef2180e2b331a213a842735 (patch) | |
tree | 221b8e96fd0db039957da47bb60a00445664f3f4 /apt-pkg/contrib/strutl.cc | |
parent | 159eedd16edfe5d633a8705ba4e23f9140a3159b (diff) |
Fixed sign conversion
Author: jgg
Date: 1999-08-28 01:49:07 GMT
Fixed sign conversion
Diffstat (limited to 'apt-pkg/contrib/strutl.cc')
-rw-r--r-- | apt-pkg/contrib/strutl.cc | 4 |
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 |