# HG changeset patch # User Tassilo Philipp # Date 1663663497 -7200 # Node ID 0179c25fd855998f03100fe57495e6290201ab2c # Parent 1586812f8eede527d7fb4fb0946d09eff7ac4ad9 - test/call_suite_aggrs: LL-suffixed long long int constant to avoid side-effects and warning diff -r 1586812f8eed -r 0179c25fd855 test/call_suite_aggrs/main.c --- a/test/call_suite_aggrs/main.c Tue Sep 20 10:39:09 2022 +0200 +++ b/test/call_suite_aggrs/main.c Tue Sep 20 10:44:57 2022 +0200 @@ -147,11 +147,11 @@ /* bound check memory adjacent to returned aggregate, to check for overflows by dcCallAggr */ long long* adj_ll = (get_max_aggr_size() - rtype_size) > sizeof(long long) ? (long long*)((char*)V_a[pos] + rtype_size) : NULL; if(adj_ll) - *adj_ll = 0x0123456789abcdef; + *adj_ll = 0x0123456789abcdefLL; s = ((int(*)(const void*,const void*))rtype_a_cmp)(dcCallAggr(p, t, rtype_a, V_a[pos]), K_a[pos]); - if(adj_ll && *adj_ll != 0x0123456789abcdef) { + if(adj_ll && *adj_ll != 0x0123456789abcdefLL) { printf("writing rval overflowed into adjacent memory;"); return 0; }