summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordavidg <davidg>2000-10-27 01:58:00 (GMT)
committerdavidg <davidg>2000-10-27 01:58:00 (GMT)
commitd2118d0b24f59986d69524252f72f8a2e95a8353 (patch)
tree19e94fa7027ab155ff655c106757b60d1ac90e98 /win
parent5cbefa50780d8b1b97ad53388a8d92029eb63aff (diff)
downloadtcl-d2118d0b24f59986d69524252f72f8a2e95a8353.zip
tcl-d2118d0b24f59986d69524252f72f8a2e95a8353.tar.gz
tcl-d2118d0b24f59986d69524252f72f8a2e95a8353.tar.bz2
2000-10-26 David Gravereaux <davygrvy@ajubasolutions.com>
* 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.
Diffstat (limited to 'win')
-rw-r--r--win/tclWinFile.c4
1 files 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;