Update c4.c

work even on x64 + mac error fixed for the return values of functions