diff options
author | David Schleef <ds@schleef.org> | 2010-09-08 14:18:12 -0700 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2010-09-08 14:18:12 -0700 |
commit | fd3f6925128c908718bc2e5ca612e1a6f93b0e04 (patch) | |
tree | b6319ca8a52dfb262704eddf53c58023e9adc7f1 /orc-test | |
parent | 890139b611605b71b44f83a8571fffdbe887588e (diff) |
orc-test: Fix comparison of 64-bit types
Diffstat (limited to 'orc-test')
-rw-r--r-- | orc-test/orctest.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/orc-test/orctest.c b/orc-test/orctest.c index 664a25c..eef6863 100644 --- a/orc-test/orctest.c +++ b/orc-test/orctest.c @@ -363,7 +363,7 @@ orc_test_random_bits (void *data, int n_bytes) #endif } -static int +static orc_uint64 print_array_val_signed (OrcArray *array, int i, int j) { void *ptr = ORC_PTR_OFFSET (array->data, @@ -389,7 +389,7 @@ print_array_val_signed (OrcArray *array, int i, int j) } #ifdef unused -static int +static orc_uint64 print_array_val_unsigned (OrcArray *array, int i, int j) { void *ptr = ORC_PTR_OFFSET (array->data, @@ -415,7 +415,7 @@ print_array_val_unsigned (OrcArray *array, int i, int j) } #endif -static int +static orc_uint64 print_array_val_hex (OrcArray *array, int i, int j) { void *ptr = ORC_PTR_OFFSET (array->data, @@ -440,7 +440,7 @@ print_array_val_hex (OrcArray *array, int i, int j) } } -static int +static orc_uint64 print_array_val_float (OrcArray *array, int i, int j) { void *ptr = ORC_PTR_OFFSET (array->data, @@ -653,7 +653,7 @@ orc_test_compare_output_full (OrcProgram *program, int flags) if (bad) { for(j=0;j<m;j++){ for(i=0;i<n;i++){ - int a,b; + orc_uint64 a,b; int l; int line_bad = 0; |