You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by "kasjer (via GitHub)" <gi...@apache.org> on 2024/02/20 07:50:49 UTC

Re: [PR] Add native target 64-bit support [mynewt-core]

kasjer commented on code in PR #3042:
URL: https://github.com/apache/mynewt-core/pull/3042#discussion_r1495370911


##########
kernel/sim/include/sim/sim.h:
##########
@@ -56,11 +56,11 @@ void sim_tick_idle(os_time_t ticks);
 #define OS_PRINT_ASSERT_SIM(file, line, func, e) do                         \
 {                                                                           \
     if (!(file)) {                                                          \
-        dprintf(1, "Assert @ 0x%x\n",                                       \
-                (unsigned int)__builtin_return_address(0));                 \
+        dprintf(1, "Assert @ 0x%lx\n",                                       \
+                (long unsigned int)__builtin_return_address(0));                 \
     } else {                                                                \
-        dprintf(1, "Assert @ 0x%x - %s:%d\n",                               \
-                (unsigned int)__builtin_return_address(0),                  \
+        dprintf(1, "Assert @ 0x%lx - %s:%d\n",                               \
+                (long unsigned int)__builtin_return_address(0),                  \

Review Comment:
   trailing `\` is  not aligned any more



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org