diff --git a/src/env_universal_common.cpp b/src/env_universal_common.cpp index 7e6379229..290975c7e 100644 --- a/src/env_universal_common.cpp +++ b/src/env_universal_common.cpp @@ -1175,9 +1175,9 @@ class universal_notifier_shmem_poller_t : public universal_notifier_t report_error(err, L"Unable to open shared memory with path '%s'", path); errored = true; } - + /* Get the size */ - size_t size = 0; + off_t size = 0; if (! errored) { struct stat buf = {};