summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2011-11-14 02:26:00 +0000
committerPaul Smith <psmith@gnu.org>2011-11-14 02:26:00 +0000
commit9fcd90e36cf2ae981199ea185566c71f5742a5c9 (patch)
tree40744661a128ae89e304200680fdca0d24906bbf /file.c
parent83ce81fcaa2f2c80446d96892b626b19564bdc8d (diff)
downloadgunmake-9fcd90e36cf2ae981199ea185566c71f5742a5c9.tar.gz
Changes to resolve warnings.
Fixes Savannah bug #34608.
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 2 insertions, 1 deletions
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;