Navigation Menu

Skip to content

Commit

Permalink
windows: suppress warnings for printing grn_socket value
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 16, 2015
1 parent 22116a6 commit 15199f3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/grn.h
Expand Up @@ -474,7 +474,11 @@ typedef int grn_cond;
# define GRN_FMT_LLU "I64u"
# define GRN_FMT_SIZE "Iu"
# define GRN_FMT_SSIZE "Id"
# define GRN_FMT_SOCKET GRN_FMT_INT64U
# ifdef WIN64
# define GRN_FMT_SOCKET GRN_FMT_INT64U
# else /* WIN64 */
# define GRN_FMT_SOCKET "u"
# endif /* WIN64 */
#else /* WIN32 */
# define GRN_FMT_LLD "lld"
# define GRN_FMT_LLU "llu"
Expand Down

0 comments on commit 15199f3

Please sign in to comment.