64-bit fixes.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3683
This commit is contained in:
Julian Seward 2005-05-12 18:01:15 +00:00
parent 2df2b56383
commit 81307e483b

View File

@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include "../memcheck.h"
int main(void)
@ -14,6 +15,9 @@ int main(void)
int n_leaked = 0;
int n_suppressed = 0;
/* we require these longs to have same size as a machine word */
assert(sizeof(long) == sizeof(void*));
/* Error counting */
printf("errors: %d\n", VALGRIND_COUNT_ERRORS);