From: David Schleef Date: Wed, 8 Sep 2010 21:18:12 +0000 (-0700) Subject: orc-test: Fix comparison of 64-bit types X-Git-Tag: orc-0.4.10~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd3f6925128c908718bc2e5ca612e1a6f93b0e04;p=platform%2Fupstream%2Forc.git orc-test: Fix comparison of 64-bit types --- 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