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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to