X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Ftest%2Fao_int64_test.c;h=c7a4891f90bbd57aa6e306f37858c9e247385c4d;hp=c26a63b0c1f8d968ba197c1403beaffbcdc4ec4d;hb=6fdc392ef1b624c06e26e7a053c3579435c455d5;hpb=cb844328322fd7d9f4dafb58b322257a70b347e6 diff --git a/src/test/ao_int64_test.c b/src/test/ao_int64_test.c index c26a63b0..c7a4891f 100644 --- a/src/test/ao_int64_test.c +++ b/src/test/ao_int64_test.c @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,6 +16,7 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ + #include #include #include @@ -28,7 +30,7 @@ int errors; c = ao_cast64(&ao_r); \ if (c != r) { \ printf ("trial %4d: %lld " #func mod " %lld = %lld (should be %lld)\n", \ - trial, (int64_t) (a), (int64_t) b, c, r); \ + trial, (long long) (a), (long long) b, (long long) c, (long long) r); \ ++errors; \ } \ } while (0)