Lines 46-52
Link Here
|
46 |
{ |
46 |
{ |
47 |
//FIXME:make messages more informative by specifying shrink/grow instead of resize. |
47 |
//FIXME:make messages more informative by specifying shrink/grow instead of resize. |
48 |
//if startsector has changed we consider it a move |
48 |
//if startsector has changed we consider it a move |
49 |
Sector diff = std::abs( partition_new .sector_start - partition_original .sector_start ) ; |
49 |
Sector diff = llabs( partition_new .sector_start - partition_original .sector_start ) ; |
50 |
if ( diff ) |
50 |
if ( diff ) |
51 |
{ |
51 |
{ |
52 |
if ( diff > 0 ) |
52 |
if ( diff > 0 ) |
Lines 60-66
Link Here
|
60 |
} |
60 |
} |
61 |
|
61 |
|
62 |
//check if size has changed |
62 |
//check if size has changed |
63 |
diff = std::abs( partition_original .get_length() - partition_new .get_length() ) ; |
63 |
diff = llabs( partition_original .get_length() - partition_new .get_length() ) ; |
64 |
if ( diff ) |
64 |
if ( diff ) |
65 |
{ |
65 |
{ |
66 |
if ( description .empty() ) |
66 |
if ( description .empty() ) |