Implemented SMB.ChangeNotify command, syntax fixed

This commit is contained in:
Amir Abbas Mousavian
2016-08-08 15:57:08 +04:30
parent c4049b961f
commit 33be492499
6 changed files with 340 additions and 189 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ extension SMB2 {
var contextCount: UInt16
private let reserved2: UInt16
var clientStartTime: SMBTime {
let time = UInt64(contextOffset) + (UInt64(contextCount) << 32) + (UInt64(contextCount) << 48)
let time = Int64(contextOffset) + (Int64(contextCount) << 32) + (Int64(contextCount) << 48)
return SMBTime(time: time)
}