News for hackers. Stuff that matters.
Re:One Response to Rejection by tlrobinson on Sunday April 13, 2008 @02:26AM (#162263)

    printf("%hx", *(unsigned short *)"YC");
...works on big endian machines. this works everywhere:

    printf("%hx", htons(*(unsigned short *)"YC"));

There are no comments on this comment yet.