You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/05/15 21:24:31 UTC

[GitHub] turon commented on a change in pull request #96: [64-bit] Patches to support running on 64-bit architectures.

turon commented on a change in pull request #96: [64-bit] Patches to support running on 64-bit architectures.
URL: https://github.com/apache/mynewt-nimble/pull/96#discussion_r188441186
 
 

 ##########
 File path: porting/nimble/src/os_mempool.c
 ##########
 @@ -94,7 +94,7 @@ os_mempool_init(struct os_mempool *mp, uint16_t blocks, uint32_t block_size,
     mp->mp_min_free = blocks;
     mp->mp_flags = 0;
     mp->mp_num_blocks = blocks;
-    mp->mp_membuf_addr = (uint32_t)membuf;
+    mp->mp_membuf_addr = (uintptr_t)membuf;
 
 Review comment:
   Good catch, thanks.  Patch submitted.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services