diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-05-01 11:10:05 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-05-01 11:10:05 +0200 |
commit | 8811c74439ef985fabd781584d1a9ddf3b627fc3 (patch) | |
tree | 2622a0c43630e63b6f2acd1180a07a8b7b591e8e /tests | |
parent | aaae85124b001380934824eba597d1db55ec75d8 (diff) | |
download | pgfuse-8811c74439ef985fabd781584d1a9ddf3b627fc3.tar.gz pgfuse-8811c74439ef985fabd781584d1a9ddf3b627fc3.tar.bz2 |
some small compilation fixes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile | 2 | ||||
-rw-r--r-- | tests/testtypes.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile index 859677f..69b061d 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -2,6 +2,8 @@ include ../inc.mak PG_CONNINFO = "" +CFLAGS += -I.. + test: testfsync testpgsql testtypes psql < clean.sql psql < ../schema.sql diff --git a/tests/testtypes.c b/tests/testtypes.c index 339af5d..d8b3147 100644 --- a/tests/testtypes.c +++ b/tests/testtypes.c @@ -14,7 +14,7 @@ int main(void) { uint32_t uint32=0xffffFFFF; - uint64_t uint64=0xFFFFFFFFFFFFFFFF; + uint64_t uint64=0xFFFFFFFFFFFFFFFFLL; off_t offset=TYPE_MAX(off_t); /* Depends on _FILE_OFFSET_BITS */ size_t size=TYPE_MAX(size_t); /* Depends on int size */ |