Quote:
I got error: invalid conversion from ‘long int’ to ‘int*’ :(
Modern OS are using 64 bits pointers, but integers are commonly 32 bits.
So conversion of a 64 bits pointer to a 32 bits integer lead to a loss of data.
You may need to use a 64 bits integer like "unsigned long long" or another pointer.