* 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:
parent
0029cf816e
commit
243680e819
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue