summaryrefslogtreecommitdiff
path: root/xmake/core/base/bytes.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-12-19 00:47:00 +0800
committerruki <[email protected]>2019-12-18 22:42:05 +0800
commit890b6c9341f463044df04cc76d16f4a56a4707c5 (patch)
tree6c92c82fe7a4cea21f52f0386a40474222094f55 /xmake/core/base/bytes.lua
parent9e01c1f9affa69b23a78ee1c04ba7cf8302bdfb2 (diff)
fix bytes addr
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 998719e4d..feef52871 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('unsigned long', self:cdata()))
+ return tonumber(ffi.cast('unsigned long long', self:cdata()))
end
-- readonly?