Karel Zak, le Tue 10 Mar 2009 13:09:22 +0100, a écrit : > You need to use union: > > int wfd; > union { unsigned int word; char *string; } val; > val.string = nl_langinfo(_NL_TIME_WEEK_1STDAY); > > wfd = val.word; That will only work with the gcc compiler, which allows to read a union field what you wrote in another. Shouldn't (int)(intptr_t)nl_langinfo() be just fine? Samuel -- 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