diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2012-06-08 13:23:14 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2012-06-08 13:23:14 +0000 |
commit | 74f85a07c067c3728be5331a5e62a911038b1db1 (patch) | |
tree | fb86cb15ed35f9ade87d2d0a6509d1bac303d3e6 /dumpcap.c | |
parent | 14c0648ce4c3d14b2623015881124bfcde0adcd7 (diff) |
Add another cast to make Windows buildbots happy.
svn path=/trunk/; revision=43155
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1824,7 +1824,7 @@ cap_open_socket(char *pipename, pcap_options *pcap_opts, char *errmsg, int errms sa.sin_family = AF_INET; sa.sin_port = htons((u_short)port); - if (((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) || + if (((fd = (int)socket(AF_INET, SOCK_STREAM, 0)) < 0) || (connect(fd, (struct sockaddr *)&sa, sizeof(sa)) < 0)) { g_snprintf(errmsg, errmsgl, "The capture session could not be initiated due to\n" |