1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

Fixing 64bit revent

Then number of input event files was being written as a size_t but read
as an int by revent. These types have different sizes with 64bit GCC,
causing revent not being able to replay recorded files. This comint
updates revent to use size_t when both reading and writing.
This commit is contained in:
Sergei Trofimov 2015-03-20 09:25:57 +00:00
parent 6a77ac656f
commit ee7f22e902
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -81,8 +81,8 @@ typedef struct {
} replay_event_t;
typedef struct {
int num_fds;
int num_events;
size_t num_fds;
size_t num_events;
int *fds;
replay_event_t *events;
} replay_buffer_t;