mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
type fixes
This commit is contained in:
parent
7a74710aaa
commit
b69c20d21a
12 changed files with 25 additions and 19 deletions
|
|
@ -112,7 +112,7 @@ class NativeFileInfo implements IFileInfo {
|
|||
|
||||
// Let us ignore the ATTR_NOT_CONTENT_INDEXED for now
|
||||
$mode &= ~0x00002000;
|
||||
|
||||
|
||||
return $mode;
|
||||
}
|
||||
|
||||
|
|
@ -188,7 +188,7 @@ class NativeFileInfo implements IFileInfo {
|
|||
list($type, $flags, $mask) = explode('/', $permissions);
|
||||
$mask = hexdec($mask);
|
||||
|
||||
$acls[$user] = new ACL($type, $flags, $mask);
|
||||
$acls[$user] = new ACL((int)$type, (int)$flags, (int)$mask);
|
||||
}
|
||||
|
||||
return $acls;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue