Skip to content

Commit 05f5af9

Browse files
committed
Kill some compiler warnings on Mac OS X.
1 parent 7183c10 commit 05f5af9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/macros.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
#else
1313
# include <sys/syscall.h>
1414
# define NPE_THREADFMT "[%lu] "
15-
# define NPE_THREADID syscall(SYS_gettid),
15+
# define NPE_THREADID \
16+
(unsigned long) syscall(SYS_gettid), // NOLINT(runtime/int)
1617
#endif
1718

1819
#define NPE_ERRORX(msg, ...) \

0 commit comments

Comments
 (0)