mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
64-bit fixes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3683
This commit is contained in:
parent
2df2b56383
commit
81307e483b
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user