summaryrefslogtreecommitdiff
path: root/legacy/ethumb/src/bin/ethumbd.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/ethumb/src/bin/ethumbd.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/legacy/ethumb/src/bin/ethumbd.c b/legacy/ethumb/src/bin/ethumbd.c
index c49204a016..ecc6f5fd92 100644
--- a/legacy/ethumb/src/bin/ethumbd.c
+++ b/legacy/ethumb/src/bin/ethumbd.c
@@ -93,9 +93,9 @@ struct _Ethumb_Setup
93 float video_time; 93 float video_time;
94 float video_start; 94 float video_start;
95 float video_interval; 95 float video_interval;
96 int video_ntimes; 96 unsigned int video_ntimes;
97 int video_fps; 97 unsigned int video_fps;
98 int document_page; 98 unsigned int document_page;
99}; 99};
100 100
101struct _Ethumb_Request 101struct _Ethumb_Request
@@ -1396,10 +1396,10 @@ static int
1396_ethumb_dbus_video_ntimes_set(struct _Ethumb_Object *eobject __UNUSED__, DBusMessageIter *iter, struct _Ethumb_Request *request) 1396_ethumb_dbus_video_ntimes_set(struct _Ethumb_Object *eobject __UNUSED__, DBusMessageIter *iter, struct _Ethumb_Request *request)
1397{ 1397{
1398 int type; 1398 int type;
1399 int video_ntimes; 1399 unsigned int video_ntimes;
1400 1400
1401 type = dbus_message_iter_get_arg_type(iter); 1401 type = dbus_message_iter_get_arg_type(iter);
1402 if (type != DBUS_TYPE_INT32) 1402 if (type != DBUS_TYPE_UINT32)
1403 { 1403 {
1404 ERR("invalid param for video_ntimes_set.\n"); 1404 ERR("invalid param for video_ntimes_set.\n");
1405 return 0; 1405 return 0;
@@ -1417,10 +1417,10 @@ static int
1417_ethumb_dbus_video_fps_set(struct _Ethumb_Object *eobject __UNUSED__, DBusMessageIter *iter, struct _Ethumb_Request *request) 1417_ethumb_dbus_video_fps_set(struct _Ethumb_Object *eobject __UNUSED__, DBusMessageIter *iter, struct _Ethumb_Request *request)
1418{ 1418{
1419 int type; 1419 int type;
1420 int video_fps; 1420 unsigned int video_fps;
1421 1421
1422 type = dbus_message_iter_get_arg_type(iter); 1422 type = dbus_message_iter_get_arg_type(iter);
1423 if (type != DBUS_TYPE_INT32) 1423 if (type != DBUS_TYPE_UINT32)
1424 { 1424 {
1425 ERR("invalid param for video_fps_set.\n"); 1425 ERR("invalid param for video_fps_set.\n");
1426 return 0; 1426 return 0;
@@ -1438,10 +1438,10 @@ static int
1438_ethumb_dbus_document_page_set(struct _Ethumb_Object *eobject __UNUSED__, DBusMessageIter *iter, struct _Ethumb_Request *request) 1438_ethumb_dbus_document_page_set(struct _Ethumb_Object *eobject __UNUSED__, DBusMessageIter *iter, struct _Ethumb_Request *request)
1439{ 1439{
1440 int type; 1440 int type;
1441 dbus_int32_t document_page; 1441 unsigned int document_page;
1442 1442
1443 type = dbus_message_iter_get_arg_type(iter); 1443 type = dbus_message_iter_get_arg_type(iter);
1444 if (type != DBUS_TYPE_INT32) 1444 if (type != DBUS_TYPE_UINT32)
1445 { 1445 {
1446 ERR("invalid param for document_page_set.\n"); 1446 ERR("invalid param for document_page_set.\n");
1447 return 0; 1447 return 0;