Changeset 123


Ignore:
Timestamp:
Sep 11, 2006, 12:26:07 AM (19 years ago)
Author:
dmik
Message:

Tools: Fixed a typo in QDir::rootDirPath() that caused an access violation trap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tools/qdir_pm.cpp

    r8 r123  
    274274{
    275275    ULONG bootDrive = 0;
    276     DosQuerySysInfo( QSV_BOOT_DRIVE, QSV_BOOT_DRIVE, (PVOID)bootDrive, sizeof(bootDrive) );
     276    DosQuerySysInfo( QSV_BOOT_DRIVE, QSV_BOOT_DRIVE, (PVOID) &bootDrive, sizeof(bootDrive) );
    277277    QString d = QChar( (char)(bootDrive + 'A' - 1) );
    278278    d += ":/";
Note: See TracChangeset for help on using the changeset viewer.