diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-01-05 19:31:44 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-01-05 19:31:44 +0000 |
commit | 1f68a9e965a314198f95843a5ff1753a4c46aa5b (patch) | |
tree | 4bbb164018cdeecf66dacbbe39d03b005ddbcfa2 /capture-wpcap.c | |
parent | 7bd7bde4d42302a373a25971bee69146ad95e03d (diff) |
removed some MSVC warnings (level 3)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9561 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture-wpcap.c')
-rw-r--r-- | capture-wpcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capture-wpcap.c b/capture-wpcap.c index ac43078d73..618dd58747 100644 --- a/capture-wpcap.c +++ b/capture-wpcap.c @@ -3,7 +3,7 @@ * time, so that we only need one Ethereal binary and one Tethereal binary * for Windows, regardless of whether WinPcap is installed or not. * - * $Id: capture-wpcap.c,v 1.7 2003/12/21 12:18:59 ulfl Exp $ + * $Id: capture-wpcap.c,v 1.8 2004/01/05 19:31:42 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -348,7 +348,7 @@ get_interface_list(int *err, char *err_str) j = 0; while (names[i] != 0) { if (j < MAX_WIN_IF_NAME_LEN) - ascii_name[j++] = names[i++]; + ascii_name[j++] = (char) names[i++]; } ascii_name[j] = '\0'; i++; |