summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-11 09:41:16 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-10-11 10:03:17 -0400
commit470c6516fe4fc3b25706e9331b6d8364f8b6c4d0 (patch)
treeefcef645c33932126d491694d59f63a7ec78cb04 /src/lib/elementary
parent8b5ffea13101faa5205e6d6b1feabb0479ebfd69 (diff)
cv: Switch to safe 32/64 bits printf masks
This should silence 32-bit warnings about long long stuff Reviewers: vtorri, cedric, bu5hm4n Reviewed By: cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10214
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_collection_view.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_collection_view.c b/src/lib/elementary/efl_ui_collection_view.c
index 8640bda..08673a3 100644
--- a/src/lib/elementary/efl_ui_collection_view.c
+++ b/src/lib/elementary/efl_ui_collection_view.c
@@ -13,6 +13,7 @@
13#include <Elementary.h> 13#include <Elementary.h>
14#include "elm_widget.h" 14#include "elm_widget.h"
15#include "elm_priv.h" 15#include "elm_priv.h"
16#include "inttypes.h"
16 17
17#include "efl_ui_collection_view_focus_manager.eo.h" 18#include "efl_ui_collection_view_focus_manager.eo.h"
18 19
@@ -418,7 +419,7 @@ _model_fetched_cb(Eo *obj, void *data, const Eina_Value v)
418 efl_replace(&insert->item.model, child); 419 efl_replace(&insert->item.model, child);
419 } 420 }
420 else 421 else
421 ERR("Inserting a model that was already fetched, dropping new model %lu", search_index); 422 ERR("Inserting a model that was already fetched, dropping new model %" PRIu64, search_index);
422 } 423 }
423 else 424 else
424 { 425 {
@@ -592,7 +593,7 @@ _entity_fetched_cb(Eo *obj, void *data, const Eina_Value v)
592 } 593 }
593 if (lookup->item.entity) 594 if (lookup->item.entity)
594 { 595 {
595 ERR("Entity already existing for id %lu", search_index); 596 ERR("Entity already existing for id %" PRIu64, search_index);
596 _entity_cleanup(obj, pd->factory, &lookup->item, NULL); 597 _entity_cleanup(obj, pd->factory, &lookup->item, NULL);
597 } 598 }
598 599
@@ -879,7 +880,7 @@ _batch_request_flush(Eina_List *requests,
879 // We assume here that we are always fetching the model (model_requested must be true) 880 // We assume here that we are always fetching the model (model_requested must be true)
880 if (!request->model_requested) 881 if (!request->model_requested)
881 { 882 {
882 CRI("Someone forgot to set model_requested for %lu to %lu.", 883 CRI("Someone forgot to set model_requested for %" PRIu64 " to %" PRIu64 ".",
883 request->offset, request->offset + request->length); 884 request->offset, request->offset + request->length);
884 request->model_requested = EINA_TRUE; 885 request->model_requested = EINA_TRUE;
885 } 886 }