is this:Originally Posted by whiteflags
the same as:Code:unsigned int a = 5; printf("%d\n", 1L * a);
Is there a difference between 1L and a cast? I realize that the reason it is used in the fseek above is that sizeof returns an unsigned int.Code:unsigned int a = 5; printf("%d\n", (long)a);