diff options
author | Yves Orton <demerphq@gmail.com> | 2006-04-27 23:30:00 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-04-28 15:29:30 +0000 |
commit | 7bd379e81ea13d83ac434499c69ddde30e5c4259 (patch) | |
tree | 3757e557c4cfa29634e1679af997c866f4fa10a4 /win32/vdir.h | |
parent | ff235dd6d6f5e19e11c9202d4a82fb8e5fbadadd (diff) | |
download | perl-7bd379e81ea13d83ac434499c69ddde30e5c4259.tar.gz |
Merge WinCE and Win32 directories -- Initial patch
Message-ID: <9b18b3110604271430k4de84685jec6535ded195ed94@mail.gmail.com>
p4raw-id: //depot/perl@28003
Diffstat (limited to 'win32/vdir.h')
-rw-r--r-- | win32/vdir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/vdir.h b/win32/vdir.h index 2dd7e34cc6..10119ead9e 100644 --- a/win32/vdir.h +++ b/win32/vdir.h @@ -150,7 +150,7 @@ void VDir::Init(VDir* pDir, VMem *p) bManageDirectory = 0; driveBits = GetLogicalDrives(); if (GetLogicalDriveStrings(sizeof(szBuffer), szBuffer)) { - char* pEnv = GetEnvironmentStrings(); + char* pEnv = (char*)GetEnvironmentStrings(); char* ptr = szBuffer; for (index = 0; index < driveCount; ++index) { if (driveBits & (1<<index)) { |