From 9fcd90e36cf2ae981199ea185566c71f5742a5c9 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 14 Nov 2011 02:26:00 +0000 Subject: Changes to resolve warnings. Fixes Savannah bug #34608. --- file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'file.c') diff --git a/file.c b/file.c index 93212d1..0979845 100644 --- a/file.c +++ b/file.c @@ -788,9 +788,10 @@ set_command_state (struct file *file, enum cmd_state state) /* Convert an external file timestamp to internal form. */ FILE_TIMESTAMP -file_timestamp_cons (const char *fname, time_t s, int ns) +file_timestamp_cons (const char *fname, time_t stamp, long int ns) { int offset = ORDINARY_MTIME_MIN + (FILE_TIMESTAMP_HI_RES ? ns : 0); + FILE_TIMESTAMP s = stamp; FILE_TIMESTAMP product = (FILE_TIMESTAMP) s << FILE_TIMESTAMP_LO_BITS; FILE_TIMESTAMP ts = product + offset; -- cgit v1.2.3