Skip to content

Commit

Permalink
Merge 95083a4 into 66115a3
Browse files Browse the repository at this point in the history
  • Loading branch information
prusnak committed Jun 13, 2021
2 parents 66115a3 + 95083a4 commit 8a8574d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ports/unix/mpthreadport.c
Expand Up @@ -126,7 +126,7 @@ void mp_thread_init(void) {
thread->next = NULL;

#if defined(__APPLE__)
snprintf(thread_signal_done_name, sizeof(thread_signal_done_name), "micropython_sem_%d", (int)thread->id);
snprintf(thread_signal_done_name, sizeof(thread_signal_done_name), "micropython_sem_%ld", (long)thread->id);
thread_signal_done_p = sem_open(thread_signal_done_name, O_CREAT | O_EXCL, 0666, 0);
#else
sem_init(&thread_signal_done, 0, 0);
Expand Down

0 comments on commit 8a8574d

Please sign in to comment.