blob: f8622a46f689e2fb5713880e61275bd3a1deae4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- src/OperationResizeMove.cc.bak 2006-07-08 00:09:58.000000000 -0400
+++ src/OperationResizeMove.cc 2006-07-08 00:09:30.000000000 -0400
@@ -46,7 +46,7 @@
{
//FIXME:make messages more informative by specifying shrink/grow instead of resize.
//if startsector has changed we consider it a move
- Sector diff = std::abs( partition_new .sector_start - partition_original .sector_start ) ;
+ Sector diff = llabs( partition_new .sector_start - partition_original .sector_start ) ;
if ( diff )
{
if ( diff > 0 )
@@ -60,7 +60,7 @@
}
//check if size has changed
- diff = std::abs( partition_original .get_length() - partition_new .get_length() ) ;
+ diff = llabs( partition_original .get_length() - partition_new .get_length() ) ;
if ( diff )
{
if ( description .empty() )
|