eina: use uintptr_t for Eina_Thread storage to be the same size for the different...
authorNicolas Aguirre <aguirre.nicolas@gmail.com>
Fri, 30 Jan 2015 09:49:55 +0000 (10:49 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 30 Jan 2015 09:49:55 +0000 (10:49 +0100)
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 <cedric@osg.samsung.com>
src/lib/eina/eina_thread.h

index 3ad5486ddd974db88dde717c12052673c09170bb..adbf34566b35f0ed80b1a981d622ded60f90a7ce 100644 (file)
@@ -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