aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-03-22 06:14:27 +0000
committerGuy Harris <guy@alum.mit.edu>2001-03-22 06:14:27 +0000
commit5a4106db5cef43ad03f1b84734519eacb5864af3 (patch)
treedd5850e5fb0b39b6b6500f4094daaf31d13b2147 /util.c
parente21ab990c5f93c1a5a801616ee317f2389650f3c (diff)
Throw in a cast to squelch a complaint from Visual C++ 6.0.
svn path=/trunk/; revision=3157
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index 1ff362902c..4f3bd2ebc7 100644
--- a/util.c
+++ b/util.c
@@ -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++];