Browse Source

Fix dump of pointer constants.

Mike Pall 14 years ago
parent
commit
1eb6e23730
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/dump.lua

+ 1 - 1
lib/dump.lua

@@ -280,7 +280,7 @@ local function formatk(tr, idx)
   elseif tn == "table" then
     s = format("{%p}", k)
   elseif tn == "userdata" then
-    if t == 11 then
+    if t == 12 then
       s = format("userdata:%p", k)
     else
       s = format("[%p]", k)