mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
explicit cast
This commit is contained in:
parent
d8a52e90ca
commit
b08a6d1b31
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ class NativeFileInfo implements IFileInfo {
|
|||
if (!$this->modeCache) {
|
||||
$attribute = $this->share->getAttribute($this->path, 'system.dos_attr.mode');
|
||||
// parse hex string
|
||||
$this->modeCache = hexdec(substr($attribute, 2));
|
||||
$this->modeCache = (int)hexdec(substr($attribute, 2));
|
||||
}
|
||||
return $this->modeCache;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue