summaryrefslogtreecommitdiffstats
path: root/cpukit/ftpd
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/ftpd')
-rw-r--r--cpukit/ftpd/ftpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/ftpd/ftpd.c b/cpukit/ftpd/ftpd.c
index c4562dbf45..dc2153793d 100644
--- a/cpukit/ftpd/ftpd.c
+++ b/cpukit/ftpd/ftpd.c
@@ -1192,7 +1192,7 @@ send_dirline(int s, int wide, time_t curTime, char const* path,
struct tm bt;
time_t tf = stat_buf.st_mtime;
enum { SIZE = 80 };
- enum { SIX_MONTHS = 365*24*60*60/2 };
+ uint32_t SIX_MONTHS = (365L*24L*60L*60L)/2L;
char timeBuf[SIZE];
gmtime_r(&tf, &bt);
if(curTime > tf + SIX_MONTHS || tf > curTime + SIX_MONTHS)