summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/os2.cpp2
-rw-r--r--src/win32.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/os2.cpp b/src/os2.cpp
index 4e95103dc..3e54bb5ad 100644
--- a/src/os2.cpp
+++ b/src/os2.cpp
@@ -67,7 +67,7 @@ void FiosGetDrives()
#endif
if (disk == disk2) {
- FiosItem *fios = _fios_items.Append()();
+ FiosItem *fios = _fios_items.Append();
fios->type = FIOS_TYPE_DRIVE;
fios->mtime = 0;
#ifndef __INNOTEK_LIBC__
diff --git a/src/win32.cpp b/src/win32.cpp
index 9f671c9f6..21ddfed03 100644
--- a/src/win32.cpp
+++ b/src/win32.cpp
@@ -780,7 +780,7 @@ void FiosGetDrives()
{
#if defined(WINCE)
/* WinCE only knows one drive: / */
- FiosItem *fios = _fios_items.Append()();
+ FiosItem *fios = _fios_items.Append();
fios->type = FIOS_TYPE_DRIVE;
fios->mtime = 0;
snprintf(fios->name, lengthof(fios->name), PATHSEP "");
@@ -791,7 +791,7 @@ void FiosGetDrives()
GetLogicalDriveStrings(sizeof(drives), drives);
for (s = drives; *s != '\0';) {
- FiosItem *fios = _fios_items.Append()();
+ FiosItem *fios = _fios_items.Append();
fios->type = FIOS_TYPE_DRIVE;
fios->mtime = 0;
snprintf(fios->name, lengthof(fios->name), "%c:", s[0] & 0xFF);