diff --git a/src/backend/Headless.cpp b/src/backend/Headless.cpp index df4b312..55a8617 100644 --- a/src/backend/Headless.cpp +++ b/src/backend/Headless.cpp @@ -10,7 +10,7 @@ using namespace Hyprutils::Memory; using namespace Hyprutils::Math; #define SP CSharedPointer -#define TIMESPEC_NSEC_PER_SEC 1000000000L +#define TIMESPEC_NSEC_PER_SEC 1000000000LL static void timespecAddNs(timespec* pTimespec, int64_t delta) { int delta_ns_low = delta % TIMESPEC_NSEC_PER_SEC;