Skip to content

Commit

Permalink
Kill some compiler warnings on Mac OS X.
Browse files Browse the repository at this point in the history
  • Loading branch information
cscott committed Nov 3, 2015
1 parent 7183c10 commit 05f5af9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
#else
# include <sys/syscall.h>
# define NPE_THREADFMT "[%lu] "
# define NPE_THREADID syscall(SYS_gettid),
# define NPE_THREADID \
(unsigned long) syscall(SYS_gettid), // NOLINT(runtime/int)
#endif

#define NPE_ERRORX(msg, ...) \
Expand Down

0 comments on commit 05f5af9

Please sign in to comment.