From d2118d0b24f59986d69524252f72f8a2e95a8353 Mon Sep 17 00:00:00 2001 From: davidg Date: Fri, 27 Oct 2000 01:58:00 +0000 Subject: 2000-10-26 David Gravereaux * win/tclWinFile.c (TclpMatchFilesTypes): NULL was being set to "attr" which was a DWORD. Changed NULL to zero because a 'void *' can't be set to a DWORD to avoid the compiler warning. --- win/tclWinFile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win/tclWinFile.c b/win/tclWinFile.c index d7c02c7..13a8906 100644 --- a/win/tclWinFile.c +++ b/win/tclWinFile.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinFile.c,v 1.8 2000/10/21 00:43:02 hobbs Exp $ + * RCS: @(#) $Id: tclWinFile.c,v 1.9 2000/10/27 01:58:00 davidg Exp $ */ #include "tclWinInt.h" @@ -333,7 +333,7 @@ TclpMatchFilesTypes( * because it is an expensive call. */ - attr = NULL; + attr = 0; if (tail == NULL) { int typeOk = 1; -- cgit v0.12