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) {
$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;
}