xzased/reparted — pull request #4 by jr0d (2013-11-12 08:04:15+00:00)
Title: invalid type mapping

/**
* Partition types
*/
enum _PedPartitionType {
PED_PARTITION_NORMAL = 0x00,
PED_PARTITION_LOGICAL = 0x01,
PED_PARTITION_EXTENDED = 0x02,
PED_PARTITION_FREESPACE = 0x04,
PED_PARTITION_METADATA = 0x08,
PED_PARTITION_PROTECTED = 0x10
};

This was causing all partition types to be 0, resulting all kinds of havoc.