I have had to switch some functional c code over from a 32 bit machine to a 64 bit machine. I have found some useful links on how to do that (ex. Converting 32-bit Application Into 64-bit Application in C) and so far I have replaced all instances of 'long' with 'int' but I am still encountering problems.
The program compiles but when I run it, it gets stuck. When I force it to close I get a Seg. fault. I have found the exact line where the program gets hung up (i.e. it gets to SheilaTestPoint1 but not SheilaTestPoint2).
fprintf(stderr, "SheilaTestPoint1");
check = read(fpheading, &header, 8);
fprintf(stderr, "SheilaTestPoint2");
Any suggestions on how to proceed?
Thank you!!