~ubuntu-branches/ubuntu/trusty/gparted/trusty

« back to all changes in this revision

Viewing changes to src/fat32.cc

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2010-06-30 21:37:01 UTC
  • mfrom: (6.3.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20100630213701-mb46ic0orpuz7l6m
Tags: 0.6.0-1
* New upstream release 
* Fix out-of-date-standards-version

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
                        S = -1 ;
81
81
        
82
82
                if ( N > -1 && S > -1 )
83
 
                        partition .Set_Unused( Utils::round( N * ( S / 512.0 ) ) ) ;
 
83
                        partition .Set_Unused( Utils::round( N * ( S / double(partition .sector_size) ) ) ) ;
84
84
        }
85
85
        else
86
86
        {