Changeset 36 for trunk/dll/dircnrs.c


Ignore:
Timestamp:
Oct 17, 2002, 3:53:23 AM (23 years ago)
Author:
root
Message:

Handle large partitions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dircnrs.c

    r2 r36  
     1
     2/***********************************************************************
     3
     4  $Id$
     5
     6  Directory containers
     7
     8  Copyright (c) 1993-98 M. Kimes
     9  Copyright (c) 2001, 2002 Steven H.Levine
     10
     11  Revisions     16 Oct 02 SHL - Handle large partitions
     12
     13***********************************************************************/
     14
    115#define INCL_DOS
    216#define INCL_WIN
     
    689703          strcpy(fbytes,"  {");
    690704          commafmt(fbytes + 3,sizeof(fbytes) - 5,
    691                    (fsa.cUnitAvail * (fsa.cSectorUnit * fsa.cbSector)) /
    692                     1024L);
     705                   (ULONG)(((float)fsa.cUnitAvail *
     706                     (fsa.cSectorUnit * fsa.cbSector)) / 1024L));
    693707          strcat(fbytes,GetPString(IDS_KFREETEXT));
    694708          strcat(fbytes,"}");
Note: See TracChangeset for help on using the changeset viewer.