You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/05/19 16:51:30 UTC

[18/18] incubator-mynewt-core git commit: imgmgr; json decoder now wants to use 64-bit integers.

imgmgr; json decoder now wants to use 64-bit integers.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/317a23bd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/317a23bd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/317a23bd

Branch: refs/heads/develop
Commit: 317a23bd6d7772a9b32d58dec89c0abeffe90ca7
Parents: e4aeaec
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Thu May 19 09:50:17 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Thu May 19 09:50:17 2016 -0700

----------------------------------------------------------------------
 libs/imgmgr/src/imgmgr_coredump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/317a23bd/libs/imgmgr/src/imgmgr_coredump.c
----------------------------------------------------------------------
diff --git a/libs/imgmgr/src/imgmgr_coredump.c b/libs/imgmgr/src/imgmgr_coredump.c
index 6a09a5a..6f3543b 100644
--- a/libs/imgmgr/src/imgmgr_coredump.c
+++ b/libs/imgmgr/src/imgmgr_coredump.c
@@ -64,7 +64,7 @@ imgr_core_list(struct nmgr_jbuf *njb)
 int
 imgr_core_load(struct nmgr_jbuf *njb)
 {
-    unsigned int off = UINT_MAX;
+    unsigned long long off = UINT_MAX;
     const struct json_attr_t dload_attr[2] = {
         [0] = {
             .attribute = "off",