diff options
Diffstat (limited to 'apt-pkg/contrib/fileutl.cc')
-rw-r--r-- | apt-pkg/contrib/fileutl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc index 3ca36377a..b5cdf782b 100644 --- a/apt-pkg/contrib/fileutl.cc +++ b/apt-pkg/contrib/fileutl.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: fileutl.cc,v 1.14 1998/11/23 07:03:06 jgg Exp $ +// $Id: fileutl.cc,v 1.15 1998/11/27 01:14:08 jgg Exp $ /* ###################################################################### File Utilities @@ -234,7 +234,7 @@ bool FileFd::Read(void *To,unsigned long Size) // FileFd::Write - Write to the file /*{{{*/ // --------------------------------------------------------------------- /* */ -bool FileFd::Write(void *From,unsigned long Size) +bool FileFd::Write(const void *From,unsigned long Size) { if (write(iFd,From,Size) != (signed)Size) { |