From d2811bc9b1c4c81b1c6d52ed994afb19baf4cb48 Mon Sep 17 00:00:00 2001 From: ohyzha Date: Sat, 21 Dec 2024 17:43:17 +0200 Subject: [PATCH] fix linux build again --- .../Host/Linux/ExeAppendedZipResourceLoaderLinux.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openVulkanoCpp/Host/Linux/ExeAppendedZipResourceLoaderLinux.cpp b/openVulkanoCpp/Host/Linux/ExeAppendedZipResourceLoaderLinux.cpp index 9f9f52b..e624bfb 100644 --- a/openVulkanoCpp/Host/Linux/ExeAppendedZipResourceLoaderLinux.cpp +++ b/openVulkanoCpp/Host/Linux/ExeAppendedZipResourceLoaderLinux.cpp @@ -18,9 +18,9 @@ namespace OpenVulkano std::string OpenVulkano::ExeAppendedZipResourceLoaderLinux::GetCurrentExecutablePath() const { std::string path(PATH_MAX, '\0'); - ssize_t sz = readlink("/proc/self/exe", path.data(), path.capacity())); + ssize_t sz = readlink("/proc/self/exe", path.data(), path.capacity()); path.resize(std::max(0, sz)); return path; } -} \ No newline at end of file +}