]> git.saurik.com Git - apt.git/commitdiff
Added cast
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:54:38 +0000 (16:54 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:54:38 +0000 (16:54 +0000)
Author: jgg
Date: 1999-08-30 07:48:04 GMT
Added cast

apt-pkg/contrib/cdromutl.cc

index cd8a77aa0476fd0c984ad4a156c8df3a07f8eca0..f6e4bc2164e9d404c7262906083066cccdaf69e6 100644 (file)
@@ -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
       {