aboutsummaryrefslogtreecommitdiffstats
path: root/modules/cap.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-03-29 13:34:14 +0100
committerGravatar Sadie Powell2026-03-29 14:12:41 +0100
commit5095617d6c53081521efb673823946cbfc183753 (patch)
treebd444f9c6b1a317500fc01902e6a1953a729bea9 /modules/cap.cpp
parentGet rid of thismod/Parent in the mysql module. (diff)
Avoid the direct use of intptr_t wherever possible.
This may cause problems on systems like CheriBSD where the pointer type stores extra data.
Diffstat (limited to 'modules/cap.cpp')
-rw-r--r--modules/cap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cap.cpp b/modules/cap.cpp
index cfa2adb12..7e135e70d 100644
--- a/modules/cap.cpp
+++ b/modules/cap.cpp
@@ -314,7 +314,7 @@ namespace
}
Cap::ExtItem::ExtItem(const WeakModulePtr& mod)
- : IntExtItem(mod, "caps", ExtensionType::USER, true)
+ : NumExtItem<size_t>(mod, "caps", ExtensionType::USER, true)
{
}