diff --git a/ChangeLog b/ChangeLog index 80efde850..aae8fa80e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ 2004-05-18 Bradley Bell - * arch/ogl/wgl.c, arch/win32/mouse.c: Fix mismatched arg types in - the win32 code (d1x r1.12, r1.7) + * arch/ogl/wgl.c, arch/win32/mouse.c, misc/d_io.c: Fix mismatched + arg types in the win32 code (d1x r1.12, r1.7, r1.2) * arch/linux/hmiplay.c: fix problems with msgbuf struct not being defined (d1x r1.4) diff --git a/misc/d_io.c b/misc/d_io.c index fea966832..bb1ca4e9e 100644 --- a/misc/d_io.c +++ b/misc/d_io.c @@ -1,4 +1,4 @@ -/* $Id: d_io.c,v 1.7 2003-11-27 00:21:04 btb Exp $ */ +/* $Id: d_io.c,v 1.8 2004-05-19 02:20:34 btb Exp $ */ /* * some misc. file/disk routines * Arne de Bruijn, 1998 @@ -54,14 +54,14 @@ unsigned long d_getdiskfree() return getdiskfree(); #else #if 0//def __WINDOWS__ - ULONG cbCluster = 0; - ULONG cClusters = 0; + DWORD cbCluster = 0; + DWORD cClusters = 0; GetDiskFreeSpace ( NULL, - (int *) &cbCluster, + &cbCluster, NULL, - (int *) &cClusters, + &cClusters, NULL); return cbCluster * cClusters;