Changeset 36 for trunk/dll/treecnr.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/treecnr.c

    r2 r36  
     1
     2/***********************************************************************
     3
     4  $Id$
     5
     6  Tree 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
     
    696710                  strcpy(fbytes,"  ");
    697711                  commafmt(fbytes + 2,sizeof(fbytes) - 4,
    698                            (fsa.cUnitAvail * (fsa.cSectorUnit * fsa.cbSector)) /
    699                             1024L);
     712                           (ULONG)(((float)fsa.cUnitAvail *
     713                             (fsa.cSectorUnit * fsa.cbSector)) / 1024L));
    700714                  strcat(fbytes,
    701715                         GetPString(IDS_KFREETEXT));
Note: See TracChangeset for help on using the changeset viewer.