summaryrefslogtreecommitdiffstats
path: root/misc-utils/cal.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--misc-utils/cal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/cal.c b/misc-utils/cal.c
index e6f4a6e..900f727 100644
--- a/misc-utils/cal.c
+++ b/misc-utils/cal.c
@@ -360,7 +360,7 @@ int main(int argc, char **argv)
* POSIX: 19971201 + 7 -1 = 0
*/
{
- int wfd;
+ unsigned int wfd;
union { unsigned int word; char *string; } val;
val.string = nl_langinfo(_NL_TIME_WEEK_1STDAY);