Throw in a cast to squelch a complaint from Visual C++ 6.0.

svn path=/trunk/; revision=3157
This commit is contained in:
Guy Harris 2001-03-22 06:14:27 +00:00
parent e21ab990c5
commit 5a4106db5c
1 changed files with 2 additions and 2 deletions

4
util.c
View File

@ -1,7 +1,7 @@
/* util.c
* Utility routines
*
* $Id: util.c,v 1.49 2001/01/28 23:56:27 guy Exp $
* $Id: util.c,v 1.50 2001/03/22 06:14:27 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -714,7 +714,7 @@ get_interface_list(int *err, char *err_str) {
characters */
do
{
win95names=names;
win95names=(char *)names;
j = 0;
while (win95names[i] != 0)
newname[j++] = win95names[i++];