Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Sunxi Tools
Commits
68a4f6f2
Commit
68a4f6f2
authored
Mar 26, 2013
by
Bartosz J
Committed by
Alejandro Mery
May 25, 2013
Browse files
fexc: accept negative values in .fex files
closes #16
parent
c749f830
Changes
1
Hide whitespace changes
Inline
Side-by-side
script_fex.c
View file @
68a4f6f2
...
...
@@ -326,7 +326,7 @@ int script_parse_fex(FILE *in, const char *filename, struct script *script)
perror
(
"malloc"
);
}
}
}
else
if
(
isdigit
(
*
p
))
{
}
else
if
(
isdigit
(
*
p
)
||
(
*
p
==
'-'
&&
isdigit
(
*
(
p
+
1
)))
)
{
long
long
v
=
0
;
char
*
end
;
v
=
strtoll
(
p
,
&
end
,
0
);
...
...
Write
Preview
Markdown
is supported
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