{
tdm_dummy_output_data *output_data = user_data;
tdm_dummy_event_data *e = NULL, *ee = NULL;
- unsigned int tv_sec, tv_usec;
+ long tv_sec, tv_usec;
static unsigned int sequence = 0;
struct timespec tp;
LIST_FOR_EACH_ENTRY_SAFE(e, ee, &output_data->timer_event_list, link) {
LIST_DEL(&e->link);
- _tdm_dummy_display_cb_event(output_data, e, sequence, tv_sec, tv_usec);
+ _tdm_dummy_display_cb_event(output_data, e, sequence, (unsigned int)tv_sec, (unsigned int)tv_usec);
free(e);
}
}
}
-static void _tdm_virtual_get_current_time(unsigned int *tv_sec, unsigned int *tv_usec)
+static void _tdm_virtual_get_current_time(long *tv_sec, long *tv_usec)
{
struct timespec tp;
{
tdm_virtual_output_data *output_data = user_data;
tdm_virtual_event_data *e = NULL, *ee = NULL;
- unsigned int tv_sec, tv_usec;
+ long tv_sec, tv_usec;
static unsigned int sequence = 0;
sequence++;
LIST_FOR_EACH_ENTRY_SAFE(e, ee, &output_data->timer_event_list, link) {
LIST_DEL(&e->link);
- _tdm_virtual_display_cb_event(output_data, e, sequence, tv_sec, tv_usec);
+ _tdm_virtual_display_cb_event(output_data, e, sequence, (unsigned int)tv_sec, (unsigned int)tv_usec);
free(e);
}
{
tdm_virtual_voutput_data *voutput_data = voutput;
tdm_virtual_output_data *output_data = NULL;
- unsigned int tv_sec, tv_usec;
+ long tv_sec, tv_usec;
static unsigned int sequence = 0;
tdm_virtual_event_data *event_data;
tdm_error ret = TDM_ERROR_NONE;
{
struct wl_client *client = (struct wl_client *) data;
struct timespec tp;
- unsigned int time;
+ long time;
pid_t pid = -1;
const char *proc_name;
char temp[512] = { 0, }, *p = temp;
struct wl_client *client = wl_resource_get_client(message->resource);
const char *signature = message->message->signature;
struct timespec tp;
- unsigned int time;
+ long time;
pid_t pid = -1;
const char *proc_name;
char temp[512] = { 0, }, *p = temp;