cedric pushed a commit to branch master.

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

commit 0e671630f1aec35ded78c42961270ddb01f470e5
Author: Nicolas Aguirre <aguirre.nico...@gmail.com>
Date:   Fri Jan 30 10:49:55 2015 +0100

    eina: use uintptr_t for Eina_Thread storage to be the same size for the 
different architectures.
    
    This should not be an ABI regression on the platform where it work (Unix). 
It is on Windows,
    but the API was unusable at all without this change, so this is a necessary 
breakage to
    unbreak things.
    
    @fix
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/eina/eina_thread.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_thread.h b/src/lib/eina/eina_thread.h
index 3ad5486..adbf345 100644
--- a/src/lib/eina/eina_thread.h
+++ b/src/lib/eina/eina_thread.h
@@ -23,6 +23,8 @@
 #include "eina_types.h"
 #include "eina_error.h"
 
+#include <stdint.h>
+
 /**
  * @addtogroup Eina_Tools_Group Tools
  *
@@ -46,7 +48,7 @@
  * @typedef Eina_Thread
  * Type for a generic thread.
  */
-typedef unsigned long int Eina_Thread;
+typedef uintptr_t Eina_Thread;
 
 /**
  * @typedef Eina_Thread_Cb

-- 


Reply via email to