64 bit function returns 32 bit pointer
问题 This function is buried in a complex nest so actually finding the cause is probably beyond anything I can ask, but I'm wondering if anyone might be able to give some tips on how I might go about debugging this. Here is the gist of the code I'm having trouble with //func1.c somestruct* func1(somestruct* mystruct) { printf("func1: %p, %i\n", mystruct, mystruct->foo); return mystruct; } //func2.c somestruct* func1(somestruct* mystruct); void func2() { somestruct *mystruct = malloc(sizeof