I am porting some C code for android . I am new to android. In my old code I have defined
typedef unsigned long uint64_t
typedef unsigned int uint32_t;
#define A_HANDLE 0x0007LL
#define B_HANDLE 0x0009LL
C code is something
typedef uint64_t handle;
After some calculation handle value printed with %lu is 38654705665 and %016lx is 0000000900000001 .
But With Android I am not able to get these values with the same code. Even if I try to print the value of B_HANDLE I am not getting 0x0009. Can some one please help me how can i print and get the values forf uint64 on android