Fix pointer casts incompatible with 64 bit architectures
[apps/core/preloaded/ug-image-viewer-efl.git] / slideshow / src / control / ivug-slideshow.cpp
index 7b48718..e113346 100755 (executable)
@@ -562,7 +562,7 @@ _ivug_ss_photocam_loaded_cb(void *data, Evas_Object *obj, void *event_info)
                return;
        }
 
-       Evas_Load_Error error = static_cast<Evas_Load_Error>(reinterpret_cast<int>(event_info));
+       Evas_Load_Error error = static_cast<Evas_Load_Error>(reinterpret_cast<size_t>(event_info));
        if ( error != EVAS_LOAD_ERROR_NONE )
        {
                MSG_HIGH("Photocam Pre-loaded. File=%s", ivug_get_filename(mdata->filepath));