From: Arch Librarian Date: Mon, 20 Sep 2004 16:54:38 +0000 (+0000) Subject: Added cast X-Git-Tag: 0.7.24ubuntu1~1268 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/0f297e4681b834170c5eb35ccf51e51e61a4b131 Added cast Author: jgg Date: 1999-08-30 07:48:04 GMT Added cast --- diff --git a/apt-pkg/contrib/cdromutl.cc b/apt-pkg/contrib/cdromutl.cc index cd8a77aa0..f6e4bc216 100644 --- a/apt-pkg/contrib/cdromutl.cc +++ b/apt-pkg/contrib/cdromutl.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: cdromutl.cc,v 1.8 1999/07/26 17:46:08 jgg Exp $ +// $Id: cdromutl.cc,v 1.9 1999/08/30 07:48:04 jgg Exp $ /* ###################################################################### CDROM Utilities - Some functions to manipulate CDROM mounts. @@ -163,7 +163,7 @@ bool IdentCdrom(string CD,string &Res,unsigned int Version) if (Version <= 1) { - sprintf(S,"%lu",Dir->d_ino); + sprintf(S,"%lu",(unsigned long)Dir->d_ino); } else {