- fixed a warning

This commit is contained in:
Volker Ruppert 2003-06-08 09:56:19 +00:00
parent 2ef0c43c7d
commit f56a46f7e4

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: cdrom.cc,v 1.61 2003-06-07 19:16:54 vruppert Exp $
// $Id: cdrom.cc,v 1.62 2003-06-08 09:56:19 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
@ -468,7 +468,7 @@ cdrom_interface::cdrom_interface(char *dev)
void
cdrom_interface::init(void) {
BX_DEBUG(("Init $Id: cdrom.cc,v 1.61 2003-06-07 19:16:54 vruppert Exp $"));
BX_DEBUG(("Init $Id: cdrom.cc,v 1.62 2003-06-08 09:56:19 vruppert Exp $"));
BX_INFO(("file = '%s'",path));
}
@ -1035,7 +1035,7 @@ cdrom_interface::capacity()
if (ret) {
BX_PANIC (("fstat on cdrom image returned err: %s", strerror(errno)));
}
BX_INFO (("cdrom size is %lu bytes", stat_buf.st_size));
BX_INFO (("cdrom size is %lld bytes", stat_buf.st_size));
if ((stat_buf.st_size % 2048) != 0) {
BX_ERROR (("expected cdrom image to be a multiple of 2048 bytes"));
}