diff options
author | Michael Roth <mroth@nessie.de> | 2009-09-23 15:01:26 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-09-28 11:16:39 +0300 |
commit | 145ee7ab6fc9c4ccb6f3497d5fb112ed6f696433 (patch) | |
tree | d23d0fcd87a5db78bcd98b08639c58f2ac24217f /ubi-utils/src/ubiformat.c | |
parent | a8ce7c2668ef0781326f629eef02cef6c3962b8a (diff) |
ubiformat/ubinize: fix more 64-bit image sequence number confusion
The sequence number is only 32 bit as the strtoul() function.
Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/ubiformat.c')
-rw-r--r-- | ubi-utils/src/ubiformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/src/ubiformat.c b/ubi-utils/src/ubiformat.c index 345593c..bed0339 100644 --- a/ubi-utils/src/ubiformat.c +++ b/ubi-utils/src/ubiformat.c @@ -134,7 +134,7 @@ static int parse_opt(int argc, char * const argv[]) while (1) { int key; char *endp; - unsigned long long image_seq; + unsigned long int image_seq; key = getopt_long(argc, argv, "nh?Vyqve:x:s:O:f:S:", long_options, NULL); if (key == -1) |