mirror of
http://git.mos6581.com/ManchildProductions/Male-Poon.git
synced 2026-05-26 19:10:51 +00:00
[minor fix] Build - warnings - swprintf has been changed to conform with the ISO C standard
This commit is contained in:
@@ -849,7 +849,7 @@ FileSystemDataSource::GetVolumeList(nsISimpleEnumerator** aResult)
|
||||
|
||||
for (volNum = 0; volNum < 26; volNum++)
|
||||
{
|
||||
swprintf( drive, L"%c:\\", volNum + (char16_t)'A');
|
||||
swprintf_s(drive, 32, L"%c:\\", volNum + (char16_t)'A');
|
||||
|
||||
driveType = GetDriveTypeW(drive);
|
||||
if (driveType != DRIVE_UNKNOWN && driveType != DRIVE_NO_ROOT_DIR)
|
||||
|
||||
Reference in New Issue
Block a user