winegstreamer: Use ULONGLONG instead of uint64_t in Unix library interface structures.

The latter has inconsistent alignment between the Unix and Win32 sides.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-02-19 20:34:58 -06:00 committed by Alexandre Julliard
parent 4de079bb72
commit 9638a5092e
1 changed files with 4 additions and 3 deletions

View File

@ -150,17 +150,18 @@ struct wg_parser_event
struct struct
{ {
/* pts and duration are in 100-nanosecond units. */ /* pts and duration are in 100-nanosecond units. */
uint64_t pts, duration; ULONGLONG pts, duration;
uint32_t size; uint32_t size;
bool discontinuity, preroll, delta, has_pts, has_duration; bool discontinuity, preroll, delta, has_pts, has_duration;
} buffer; } buffer;
struct struct
{ {
uint64_t position, stop; ULONGLONG position, stop;
double rate; DOUBLE rate;
} segment; } segment;
} u; } u;
}; };
C_ASSERT(sizeof(struct wg_parser_event) == 40);
struct unix_funcs struct unix_funcs
{ {