#endif
#ifdef _WIN64
-typedef unsigned __int64 tsrm_intptr_t;
-typedef __int64 tsrm_uintptr_t;
+typedef __int64 tsrm_intptr_t;
+typedef unsigned __int64 tsrm_uintptr_t;
#else
typedef long tsrm_intptr_t;
typedef unsigned long tsrm_uintptr_t;
typedef unsigned short zend_ushort;
#ifdef _WIN64
-typedef unsigned __int64 zend_intptr_t;
-typedef __int64 zend_uintptr_t;
+typedef __int64 zend_intptr_t;
+typedef unsigned __int64 zend_uintptr_t;
#else
typedef long zend_intptr_t;
typedef unsigned long zend_uintptr_t;