raster pushed a commit to branch master.

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

commit 85a86e77f75a7f3c8c1e09a5f6c7aea176d1d5df
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sat Nov 9 10:11:12 2013 +0900

    ecore_con - socks support - warning that shows invalid size calc
    
    zmike - i think this was the problem. gcc warning caught it. size was
---
 src/lib/ecore_con/ecore_con_socks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_con/ecore_con_socks.c 
b/src/lib/ecore_con/ecore_con_socks.c
index 0c16131..8ea64a9 100644
--- a/src/lib/ecore_con/ecore_con_socks.c
+++ b/src/lib/ecore_con/ecore_con_socks.c
@@ -70,7 +70,7 @@ static int ECORE_CON_SOCKS_V5_METHODS[] =
    ECORE_CON_SOCKS_V5_METHOD_USERPASS
 };
 
-#define ECORE_CON_SOCKS_V5_TOTAL_METHODS sizeof(ECORE_CON_SOCKS_V5_METHODS)
+#define ECORE_CON_SOCKS_V5_TOTAL_METHODS (sizeof(ECORE_CON_SOCKS_V5_METHODS) / 
sizeof(int))
 
 #define _ecore_con_server_kill(svr) do { \
    DBG("KILL %p", (svr)); \

-- 


Reply via email to