Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Angus Ainslie
qdl
Commits
7f75f17c
Commit
7f75f17c
authored
Apr 15, 2021
by
Bjorn Andersson
Browse files
fixup! program: Make start_sector unsigned in
parent
40df4807
Changes
2
Hide whitespace changes
Inline
Side-by-side
patch.c
View file @
7f75f17c
...
...
@@ -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
);
...
...
patch.h
View file @
7f75f17c
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment