diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmMachO.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMachO.cxx b/Source/cmMachO.cxx index 4fcaedf..91a7b84 100644 --- a/Source/cmMachO.cxx +++ b/Source/cmMachO.cxx @@ -69,7 +69,7 @@ bool read(cmsys::ifstream& fin, std::vector<T>& v) return true; } return static_cast<bool>( - fin.read(reinterpret_cast<char*>(&v[0]), sizeof(T) * v.size())); + fin.read(reinterpret_cast<char*>(v.data()), sizeof(T) * v.size())); } } |