Cygwin: posix_timer: fix formatting

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2022-08-22 14:50:54 +02:00
parent 74983727c0
commit 88e2f2aad1
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ timer_tracker::settime (int flags, const itimerspec *new_value,
leaking of timer ids into the child process. */
#define cnew(name, ...) \
({ \
void* ptr = (void*) HeapAlloc (GetProcessHeap (), 0, sizeof (name)); \
void *ptr = (void *) HeapAlloc (GetProcessHeap (), 0, sizeof (name)); \
ptr ? new (ptr) name (__VA_ARGS__) : NULL; \
})