# HG changeset patch # User Paper # Date 1713473495 14400 # Node ID 5437009cb10ef6fc5a5c6718c7e4a041c747ee9a # Parent f01b6e9c8fa2b4c47aa1f0253f2ca7ec6f60f158 dep/animone: get macOS side building diff -r f01b6e9c8fa2 -r 5437009cb10e dep/animone/src/strategist.cc --- a/dep/animone/src/strategist.cc Sun Apr 14 22:28:50 2024 -0400 +++ b/dep/animone/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 f01b6e9c8fa2 -r 5437009cb10e dep/animone/src/win/quartz.cc --- a/dep/animone/src/win/quartz.cc Sun Apr 14 22:28:50 2024 -0400 +++ b/dep/animone/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;