From 84e09e2a65c9abf32ccc5d22d3921ac4372645d7 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Tue, 3 Dec 2002 11:05:17 +0000 Subject: [PATCH] forgot to check in. Another allocationinfo fix Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@556 --- src/shell/shell_cmds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/shell_cmds.cpp b/src/shell/shell_cmds.cpp index 1604d4cb..24934ece 100644 --- a/src/shell/shell_cmds.cpp +++ b/src/shell/shell_cmds.cpp @@ -262,7 +262,7 @@ void DOS_Shell::CMD_DIR(char * args) { //TODO Free Space Bitu free_space=1024*1024*100; if (Drives[drive]) { - Bit16u bytes_sector;Bit16u sectors_cluster;Bit16u total_clusters;Bit16u free_clusters; + Bit16u bytes_sector;Bit8u sectors_cluster;Bit16u total_clusters;Bit16u free_clusters; Drives[drive]->AllocationInfo(&bytes_sector,§ors_cluster,&total_clusters,&free_clusters); free_space=bytes_sector*sectors_cluster*free_clusters; }