]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
A 64-bit fix
authorJulian Seward <jseward@acm.org>
Sun, 12 Mar 2006 00:35:42 +0000 (00:35 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 12 Mar 2006 00:35:42 +0000 (00:35 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5749

auxprogs/mpiwrap.c

index 30bfc49e823498ffe1b7514d017fc168c618bfc7..4cb7cc7e7b7740fc34f33474e0645193ea393704 100644 (file)
@@ -1,7 +1,7 @@
 
 /*---------------------------------------------------------------*/
 /*---                                                         ---*/
-/*--- A library of wrappers for MPI 1.1 functions.            ---*/
+/*--- A library of wrappers for MPI 2 functions.              ---*/
 /*---                                                         ---*/
 /*---------------------------------------------------------------*/
 
@@ -479,8 +479,9 @@ void walk_type ( void(*f)(void*,long), char* base, MPI_Datatype ty )
 
    if (0) {
       ex = extentOfTy(ty);
-      printf("tycon %p %d %d %d (ext %d)\n",
-             (void*)tycon, n_ints, n_addrs, n_dtys, (int)ex );
+      printf("tycon 0x%llx %d %d %d (ext %d)\n",
+             (unsigned long long int)tycon, 
+             n_ints, n_addrs, n_dtys, (int)ex );
    }
 
    /* Now safe to do MPI_Type_get_contents */