From e4f00591a3b36b212ac66bc3c847594151d2b114 Mon Sep 17 00:00:00 2001 From: "mcmullen%netscape.com" Date: Sat, 13 Mar 1999 07:07:33 +0000 Subject: [PATCH] Fix a parameter type. --- base/src/windows/nsFileSpecWin.cpp | 9 +++++---- xpcom/io/nsFileSpecWin.cpp | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/base/src/windows/nsFileSpecWin.cpp b/base/src/windows/nsFileSpecWin.cpp index d30521e0b105..9feda5cb8151 100644 --- a/base/src/windows/nsFileSpecWin.cpp +++ b/base/src/windows/nsFileSpecWin.cpp @@ -21,6 +21,7 @@ #include #include +#include #include #include "prio.h" #include "nsError.h" @@ -411,10 +412,10 @@ PRUint32 nsFileSpec::GetDiskSpaceAvailable() const strcat(aDrive, "\\"); - PRUint32 dwSectorsPerCluster = 0; - PRUint32 dwBytesPerSector = 0; - PRUint32 dwFreeClusters = 0; - PRUint32 dwTotalClusters = 0; + DWORD dwSectorsPerCluster = 0; + DWORD dwBytesPerSector = 0; + DWORD dwFreeClusters = 0; + DWORD dwTotalClusters = 0; if (!GetDiskFreeSpace(aDrive, &dwSectorsPerCluster, &dwBytesPerSector, diff --git a/xpcom/io/nsFileSpecWin.cpp b/xpcom/io/nsFileSpecWin.cpp index d30521e0b105..9feda5cb8151 100644 --- a/xpcom/io/nsFileSpecWin.cpp +++ b/xpcom/io/nsFileSpecWin.cpp @@ -21,6 +21,7 @@ #include #include +#include #include #include "prio.h" #include "nsError.h" @@ -411,10 +412,10 @@ PRUint32 nsFileSpec::GetDiskSpaceAvailable() const strcat(aDrive, "\\"); - PRUint32 dwSectorsPerCluster = 0; - PRUint32 dwBytesPerSector = 0; - PRUint32 dwFreeClusters = 0; - PRUint32 dwTotalClusters = 0; + DWORD dwSectorsPerCluster = 0; + DWORD dwBytesPerSector = 0; + DWORD dwFreeClusters = 0; + DWORD dwTotalClusters = 0; if (!GetDiskFreeSpace(aDrive, &dwSectorsPerCluster, &dwBytesPerSector,