diff options
| -rw-r--r-- | src/listalf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listalf.c b/src/listalf.c index 71d8195..2a06620 100644 --- a/src/listalf.c +++ b/src/listalf.c @@ -56,7 +56,7 @@ void format_msdos_date(char *buf) { /* valid months range 1 to 12. values 0, 13, 14, 15 are possible but invalid (print as ???) */ - month = (d >> 5) && 0x0f; + month = (d >> 5) & 0x0f; /* valid day range is 1 to 31. 0 is invalid, print as-is. */ day = d & 0x1f; |
