diff --git a/src/backend/Backend.cpp b/src/backend/Backend.cpp index a6db06a..a16657a 100644 --- a/src/backend/Backend.cpp +++ b/src/backend/Backend.cpp @@ -17,7 +17,7 @@ using namespace Hyprutils::Memory; using namespace Aquamarine; #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; 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;