[asan] Fix "no matching function" on GCC

GitOrigin-RevId: 4b768eeb976ec15a2701f9a7b3eac2b0b43e8a7d
diff --git a/test/asan/TestCases/Posix/unpoison-alternate-stack.cpp b/test/asan/TestCases/Posix/unpoison-alternate-stack.cpp
index 50d28dd..7febc06 100644
--- a/test/asan/TestCases/Posix/unpoison-alternate-stack.cpp
+++ b/test/asan/TestCases/Posix/unpoison-alternate-stack.cpp
@@ -136,7 +136,7 @@
 int main() {
   size_t const PageSize = sysconf(_SC_PAGESIZE);
   // The Solaris defaults of 4k (32-bit) and 8k (64-bit) are too small.
-  size_t const MinStackSize = std::max(PTHREAD_STACK_MIN, 16 * 1024);
+  size_t const MinStackSize = std::max<size_t>(PTHREAD_STACK_MIN, 16 * 1024);
   // To align the alternate stack, we round this up to page_size.
   size_t const DefaultStackSize =
       (MinStackSize - 1 + PageSize) & ~(PageSize - 1);