From ac82657e512b6f291a731223b93d921cb4eb6908 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 2 Apr 2020 23:35:16 +0200 Subject: [PATCH] Fix incorrect type of Drive container --- src/lib/cross_osx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/cross_osx.cc b/src/lib/cross_osx.cc index 181b8c74f..7197eef79 100644 --- a/src/lib/cross_osx.cc +++ b/src/lib/cross_osx.cc @@ -243,7 +243,7 @@ disk_appeared(DADiskRef disk, void* context) { const char* name = DADiskGetBSDName (disk); if (name) { - list* drives = reinterpret_cast*> (context); + vector* drives = reinterpret_cast*> (context); drives->push_back (Drive(name, 0, false, optional(), optional())); } } -- 2.30.2