Cygwin: posix_timer: fix formatting
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
74983727c0
commit
88e2f2aad1
|
@ -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; \
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue