[PATCH 2/4] comctl32/tests: Change toolbar size test data to load dynamically.
Austin Lund
austin.lund at gmail.com
Fri Nov 5 23:39:36 CDT 2010
On 5 November 2010 22:35, Alexandre Julliard <julliard at winehq.org> wrote:
> Austin Lund <austin.lund at gmail.com> writes:
>
>> +static void init_tbsize_results(void) {
>> + tbsize_results = (tbsize_result_t *)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, 24*sizeof(tbsize_result_t));
>> + tbsize_results[0] = (tbsize_result_t) { {0, 0, 672, 26}, {100, 22}, 5, {
>> + { 0, 2, 23, 24}, { 23, 2, 46, 24}, { 46, 2, 54, 24},
>> + { 54, 2, 77, 24}, { 77, 2, 100, 24} } };
>
> That syntax is not portable, please avoid it.
>
What C standard is desired? C89?
More information about the wine-devel
mailing list