explicit cast

This commit is contained in:
Robin Appelman 2014-08-27 10:07:09 +02:00
commit b08a6d1b31

View file

@ -103,7 +103,7 @@ class NativeFileInfo implements IFileInfo {
if (!$this->modeCache) { if (!$this->modeCache) {
$attribute = $this->share->getAttribute($this->path, 'system.dos_attr.mode'); $attribute = $this->share->getAttribute($this->path, 'system.dos_attr.mode');
// parse hex string // parse hex string
$this->modeCache = hexdec(substr($attribute, 2)); $this->modeCache = (int)hexdec(substr($attribute, 2));
} }
return $this->modeCache; return $this->modeCache;
} }