* eet: use uintptr_t.
authorCedric BAIL <cedric.bail@free.fr>
Fri, 3 Dec 2010 18:01:45 +0000 (18:01 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Fri, 3 Dec 2010 18:01:45 +0000 (18:01 +0000)
SVN revision: 55210

legacy/eet/configure.ac

index c96be0bbe1f7734d28c7693ffc688f241f8765b8..6e6e4289d247ebf3c3d1062b49646fd2f4060cbe 100644 (file)
@@ -366,10 +366,11 @@ AC_C___ATTRIBUTE__
 AC_TRY_RUN(
    [
 #include <stdlib.h>
+#include <inttypes.h>
 int main (int argc, char **argv) {
   void *foo = NULL;
-  long long bar = (long long)foo;
-  return (long long)foo;
+  uintptr_t bar = (uintptr_t)foo;
+  return (uintptr_t)foo;
 }
    ],
    [have_null="yes"],