Fixed the following build warning:
bertos/kern/proc_test.c:220: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3239
38d2e660-2303-0410-9eaa-
f027e97ec537
if (UNLIKELY(*my_count == (unsigned int)~0))
*my_count = 1;
}
- PROC_ATOMIC(kprintf("> %s[%zd] completed: (counter = %d)\n",
+ PROC_ATOMIC(kprintf("> %s[%zd] completed: (counter = %lu)\n",
__func__, pid, *my_count));
for (i = 0; i < TASKS; i++)
if (!preempt_counter[i])