summaryrefslogtreecommitdiff
path: root/xmake/core/base/bytes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/base/bytes.lua')
-rw-r--r--xmake/core/base/bytes.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/bytes.lua b/xmake/core/base/bytes.lua
index 6c62697aa..998719e4d 100644
--- a/xmake/core/base/bytes.lua
+++ b/xmake/core/base/bytes.lua
@@ -154,7 +154,7 @@ end
-- get data address
function _instance:caddr()
- return tonumber(ffi.cast('long', self:cdata()))
+ return tonumber(ffi.cast('unsigned long', self:cdata()))
end
-- readonly?