diff options
-rwxr-xr-x | src/media-thumb-internal.c | 2 | ||||
-rwxr-xr-x | src/media-thumbnail.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c index e359e91..a995d9c 100755 --- a/src/media-thumb-internal.c +++ b/src/media-thumb-internal.c @@ -1130,7 +1130,7 @@ int _media_thumb_get_hash_name(const char *file_full_path, char *thumb_hash_path char file_ext[255] = { 0 }; char *get_path = NULL; int ret_len = 0; - ms_user_storage_type_t store_type = -1; + ms_user_storage_type_e store_type = -1; int ret = MS_MEDIA_ERR_NONE; if (file_full_path == NULL || thumb_hash_path == NULL || max_thumb_path <= 0) { diff --git a/src/media-thumbnail.c b/src/media-thumbnail.c index d481eed..8a4645f 100755 --- a/src/media-thumbnail.c +++ b/src/media-thumbnail.c @@ -46,7 +46,7 @@ int thumbnail_request_from_db(const char *origin_path, char *thumb_path, int max return MS_MEDIA_ERR_INVALID_PARAMETER; } - ms_user_storage_type_t store_type = -1; + ms_user_storage_type_e store_type = -1; err = ms_user_get_storage_type(uid, origin_path, &store_type); if((err != MS_MEDIA_ERR_NONE) || ((store_type != MS_USER_STORAGE_INTERNAL) && (store_type != MS_USER_STORAGE_EXTERNAL))) { @@ -80,7 +80,7 @@ int thumbnail_request_from_db_async(unsigned int request_id, const char *origin_ return MS_MEDIA_ERR_INVALID_PARAMETER; } - ms_user_storage_type_t store_type = -1; + ms_user_storage_type_e store_type = -1; err = ms_user_get_storage_type(uid, origin_path, &store_type); if((err != MS_MEDIA_ERR_NONE) || ((store_type != MS_USER_STORAGE_INTERNAL) && (store_type != MS_USER_STORAGE_EXTERNAL))) { |