# HG changeset patch # User Paper # Date 1713473495 14400 # Node ID 87841727fa47069f633f9f45cb2f93ebda3d0cc3 # Parent f80b3c3ec7f05ec2cbc4206a4c6b2de221ea030b dep/animone: get macOS side building diff -r f80b3c3ec7f0 -r 87841727fa47 src/strategist.cc --- a/src/strategist.cc Sun Apr 14 22:28:50 2024 -0400 +++ b/src/strategist.cc Thu Apr 18 16:51:35 2024 -0400 @@ -5,7 +5,7 @@ #include "animone/strategies.h" #include "animone/util.h" -#include +#include /* this was STUPIDLY slow in Anisthesia, oops! */ diff -r f80b3c3ec7f0 -r 87841727fa47 src/win/quartz.cc --- a/src/win/quartz.cc Sun Apr 14 22:28:50 2024 -0400 +++ b/src/win/quartz.cc Thu Apr 18 16:51:35 2024 -0400 @@ -151,7 +151,7 @@ if (AXUIElementCopyAttributeValue(window, kAXPositionAttribute, reinterpret_cast(&val)) == kAXErrorSuccess) { CGPoint point; - if (!AXValueGetValue(val, kAXValueCGPointType, reinterpret_cast(&point)) || + if (!AXValueGetValue(val, static_cast(kAXValueCGPointType), reinterpret_cast(&point)) || (point.x != bounds.origin.x || point.y != bounds.origin.y)) { CFRelease(val); continue; @@ -166,7 +166,7 @@ if (AXUIElementCopyAttributeValue(window, kAXSizeAttribute, reinterpret_cast(&val)) == kAXErrorSuccess) { CGSize size; - if (!AXValueGetValue(val, kAXValueCGSizeType, reinterpret_cast(&size)) || + if (!AXValueGetValue(val, static_cast(kAXValueCGSizeType), reinterpret_cast(&size)) || (size.width != bounds.size.width || size.height != bounds.size.height)) { CFRelease(val); continue;