Eldbus_Message *reply_msg, *error_msg = NULL;
E_Client *ec;
Evas_Object *o;
+ unsigned long tmp = 0;
uint64_t value_number = 0;
Eina_Bool res = EINA_FALSE;
Eina_Bool window_exists = EINA_FALSE;
else
{
if (strlen(value) >= 2 && value[0] == '0' && value[1] == 'x')
- res = e_util_string_to_ulong(value, (unsigned long *)&value_number, 16);
+ res = e_util_string_to_ulong(value, &tmp, 16);
else
- res = e_util_string_to_ulong(value, (unsigned long *)&value_number, 10);
+ res = e_util_string_to_ulong(value, &tmp, 10);
if (res == EINA_FALSE)
{
return eldbus_message_error_new(msg, INVALID_ARGS,
"get_window_prop: invalid input arguments");
}
+ value_number = (uint64_t)tmp;
}
}
uint32_t enable, transform_id;
uint32_t x, y, sx, sy, degree;
uint32_t background;
+ unsigned long tmp = 0;
const char *value = NULL;
- uint64_t value_number;
+ uint64_t value_number = 0;
Evas_Object *o;
E_Client *ec;
Eina_Bool res = EINA_FALSE;
}
if (strlen(value) >= 2 && value[0] == '0' && value[1] == 'x')
- res = e_util_string_to_ulong(value, (unsigned long *)&value_number, 16);
+ res = e_util_string_to_ulong(value, &tmp, 16);
else
- res = e_util_string_to_ulong(value, (unsigned long *)&value_number, 10);
+ res = e_util_string_to_ulong(value, &tmp, 10);
EINA_SAFETY_ON_FALSE_RETURN_VAL(res, reply);
+ value_number = (uint64_t)tmp;
+
for (o = evas_object_top_get(e_comp->evas); o; o = evas_object_below_get(o))
{
ec = evas_object_data_get(o, "E_Client");
Eldbus_Message_Iter *opt_iter;
const char *win_str, *key, *val, *opt;
Eina_List *options = NULL;
+ unsigned long tmp = 0;
uint64_t win_id = 0;
E_Client *ec;
Evas_Object *o;
options = eina_list_append(options, str);
}
- res = e_util_string_to_ulong(win_str, (unsigned long *)&win_id, 16);
+ res = e_util_string_to_ulong(win_str, &tmp, 16);
EINA_SAFETY_ON_FALSE_RETURN_VAL(res, reply);
+ win_id = (uint64_t)tmp;
+
for (o = evas_object_top_get(e_comp->evas); o; o = evas_object_below_get(o))
{
ec = evas_object_data_get(o, "E_Client");