In article <3577 at bruce.cs.monash.OZ.AU> alanf at bruce.cs.monash.OZ.AU (Alan Grant Finlay) writes: > printf("This doesn't work : %d, %d\n",65536/512,512); Of course it doesn't work, you're trying to print a long int using a %d format specification!