diff options
author | Paul Smith <psmith@gnu.org> | 2011-11-14 02:26:00 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2011-11-14 02:26:00 +0000 |
commit | 9fcd90e36cf2ae981199ea185566c71f5742a5c9 (patch) | |
tree | 40744661a128ae89e304200680fdca0d24906bbf /file.c | |
parent | 83ce81fcaa2f2c80446d96892b626b19564bdc8d (diff) | |
download | gunmake-9fcd90e36cf2ae981199ea185566c71f5742a5c9.tar.gz |
Changes to resolve warnings.
Fixes Savannah bug #34608.
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |