Przeglądaj źródła

Update bindings.c

blueloveTH 2 miesięcy temu
rodzic
commit
2ed21e8814
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      3rd/msgpack/src/bindings.c

+ 1 - 1
3rd/msgpack/src/bindings.c

@@ -88,7 +88,7 @@ static bool mpack_to_py(mpack_node_t node) {
             if(!mpack_to_py_ext) {
             if(!mpack_to_py_ext) {
                 return RuntimeError("msgpack: mpack_to_py_ext is not set, cannot handle ext type");
                 return RuntimeError("msgpack: mpack_to_py_ext is not set, cannot handle ext type");
             }
             }
-            if(!mpack_to_py_ext(node)) return false;
+            if(!mpack_to_py_ext(tmp, node)) return false;
             break;
             break;
         }
         }
         default: return ValueError("msgpack: invalid node type");
         default: return ValueError("msgpack: invalid node type");