static Eina_Bool __send_waiting_timeout_error_to_manager(void* data)
{
- SLOG(LOG_ERROR, TAG_VCD, "Widget client didn't send to start recording, pid(%d)", (int)data);
+ intptr_t ppid = (intptr_t)data;
+ int pid = (int)ppid;
+ SLOG(LOG_ERROR, TAG_VCD, "Widget client didn't send to start recording, pid(%d)", pid);
__reset_waiting_for_widget_recording();
vcdc_send_error_signal_to_manager(vcd_client_manager_get_pid(), VCD_ERROR_OPERATION_FAILED, "voice_engine.error.proc_fail");
// Check if the app included widget client is terminated or not. If it is terminated, vcd_server_widget_finalize() function will be called
// In that function, it will start recording
- g_check_widget_client_timer = ecore_timer_add(2.0, __send_waiting_timeout_error_to_manager, (void*)pid);
+ intptr_t ppid = (intptr_t)pid;
+ g_check_widget_client_timer = ecore_timer_add(2.0, __send_waiting_timeout_error_to_manager, (void*)ppid);
// Set flag to wait for recording from widget client
vcd_client_widget_set_waiting_for_recording(pid, true);