summaryrefslogtreecommitdiffhomepage
path: root/StorageKit
diff options
context:
space:
mode:
authoramlel <113760121+amlel-png@users.noreply.github.com>2024-01-09 21:49:17 +0100
committerGitHub <noreply@github.com>2024-01-09 21:49:17 +0100
commit149ad21b7188d21d726215c98d0d74835ea4e737 (patch)
tree673b3db2a203630aa097bbf77b1c8cd5487318bc /StorageKit
parenta8cf25e6b66425d89b25381bb07fd4074cdc8deb (diff)
parente761991ab5a1d51392d098a15c1870025900fcd1 (diff)
Merge pull request #1 from Mahrouss-Logic/kernel-tls
Kernel tls
Diffstat (limited to 'StorageKit')
-rw-r--r--StorageKit/Storage.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/StorageKit/Storage.hpp b/StorageKit/Storage.hpp
index 420e67fd..a2003bef 100644
--- a/StorageKit/Storage.hpp
+++ b/StorageKit/Storage.hpp
@@ -21,7 +21,7 @@ typedef hCore::UInt16 OSScsiPacket[12];
extern const OSScsiPacket kCDRomPacketTemplate;
#define f_kDriveSectorSize 2048
-#define f_kDriveSize(last_lba) (last_lba + 1) * f_kDriveSectorSize
+#define f_kDriveSize(last_lba) ((last_lba + 1) * f_kDriveSectorSize)