Karel Zak wrote: > On Wed, Mar 04, 2009 at 08:37:03PM +0000, Pádraig Brady wrote: > int wfd; > union { unsigned int word; char *string; } val; > val.string = nl_langinfo(_NL_TIME_WEEK_1STDAY); > > wfd = val.word; Sorry I couldn't use make since my Fedora 8 machine doesn't have the appropriate deps to run configure. So I used my own gcc command line but forget the -Wall option :( I'd actually prefer to use this: int wfd = (intptr_t)nl_langinfo(_NL_TIME_WEEK_1STDAY); It's also worth noting this outstanding bug: http://sources.redhat.com/bugzilla/show_bug.cgi?id=7068 cheers, Pádraig. -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html