Commit 7f75f17c authored by Bjorn Andersson's avatar Bjorn Andersson
Browse files

fixup! program: Make start_sector unsigned in

parent 40df4807
......@@ -72,7 +72,7 @@ int patch_load(const char *patch_file)
patch->filename = attr_as_string(node, "filename", &errors);
patch->partition = attr_as_unsigned(node, "physical_partition_number", &errors);
patch->size_in_bytes = attr_as_unsigned(node, "size_in_bytes", &errors);
patch->start_sector = attr_as_string(node, "start_sector", &errors);
patch->start_sector = attr_as_unsigned(node, "start_sector", &errors);
patch->value = attr_as_string(node, "value", &errors);
patch->what = attr_as_string(node, "what", &errors);
......@@ -9,7 +9,7 @@ struct patch {
const char *filename;
unsigned partition;
unsigned size_in_bytes;
const char *start_sector;
unsigned start_sector;
const char *value;
const char *what;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment