$OpenBSD: patch-test_rak_allocators_test_cc,v 1.1 2011/12/01 17:10:40 dcoppa Exp $

Unbreak build
(upstream git commit 269843c73206fde90e17cc02aa665ebe0e319f63)

--- test/rak/allocators_test.cc.orig	Tue Apr  5 12:25:58 2011
+++ test/rak/allocators_test.cc	Thu Oct 20 10:38:52 2011
@@ -1,12 +1,14 @@
 #include "config.h"
 
-#import "allocators_test.h"
+#include <stdint.h>
 
+#include "allocators_test.h"
+
 CPPUNIT_TEST_SUITE_REGISTRATION(AllocatorsTest);
 
 template <typename T>
 bool is_aligned(const T& t) {
-  return t.empty() || (reinterpret_cast<int>(&t[0]) & (LT_SMP_CACHE_BYTES - 1)) == 0x0;
+  return t.empty() || (reinterpret_cast<intptr_t>(&t[0]) & (LT_SMP_CACHE_BYTES - 1)) == 0x0;
 }
 
 void
