* Forgot to cast before the shift; this fixes the problem seen by Bruno.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28736 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-11-26 22:15:17 +00:00
parent 0029cf816e
commit 243680e819
1 changed files with 1 additions and 1 deletions

View File

@ -785,7 +785,7 @@ bfs_write_stat(fs_volume* _volume, fs_vnode* _node, const struct stat* stat,
if ((mask & B_STAT_MODIFICATION_TIME) == 0)
newTime = (bigtime_t)time(NULL) << INODE_TIME_SHIFT;
else
newTime = stat->st_mtime << INODE_TIME_SHIFT;
newTime = (bigtime_t)stat->st_mtime << INODE_TIME_SHIFT;
if (!inode->InLastModifiedIndex()) {
// directory modification times are not part of the index