Fix mismatched arg types in the win32 code (d1x r1.2)
This commit is contained in:
parent
775969a0c2
commit
c58a793d31
|
@ -1,7 +1,7 @@
|
|||
2004-05-18 Bradley Bell <btb@icculus.org>
|
||||
|
||||
* 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)
|
||||
|
|
10
misc/d_io.c
10
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;
|
||||
|
|
Loading…
Reference in a new issue