--- a/src/GParted_Core.cc +++ b/src/GParted_Core.cc @@ -72,7 +72,7 @@ ped_exception_set_handler( ped_exception_handler ) ; //get valid flags ... - for ( PedPartitionFlag flag = ped_partition_flag_next( static_cast( NULL ) ) ; + for ( PedPartitionFlag flag = ped_partition_flag_next( static_cast( 0 ) ) ; flag ; flag = ped_partition_flag_next( flag ) ) flags .push_back( flag ) ;