raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b3f0db816a3fa4dde793200a930d74d328fe2cfc

commit b3f0db816a3fa4dde793200a930d74d328fe2cfc
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sat Feb 11 13:06:16 2017 +0900

    efl io - fix using wrong type for return values pointed to
    
    this potentially could be a bug on 32bit systems. this fixes that and
    addresses the warning that pointed it out
---
 src/lib/ecore/efl_io_buffered_stream.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore/efl_io_buffered_stream.c 
b/src/lib/ecore/efl_io_buffered_stream.c
index ab26bf4..20b76da 100644
--- a/src/lib/ecore/efl_io_buffered_stream.c
+++ b/src/lib/ecore/efl_io_buffered_stream.c
@@ -530,7 +530,7 @@ _efl_io_buffered_stream_pending_read_get(Eo *o EINA_UNUSED, 
Efl_Io_Buffered_Stre
 EOLIAN static void
 _efl_io_buffered_stream_progress_get(Eo *o EINA_UNUSED, 
Efl_Io_Buffered_Stream_Data *pd, size_t *pr, size_t *pw)
 {
-   size_t r = 0, w = 0;
+   uint64_t r = 0, w = 0;
 
    if (pd->sender) efl_io_copier_progress_get(pd->sender, NULL, &w, NULL);
    if (pd->receiver) efl_io_copier_progress_get(pd->receiver, &r, NULL, NULL);

-- 


Reply via email to