diff options
Diffstat (limited to 'python/flowgraph.py')
| -rw-r--r-- | python/flowgraph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/flowgraph.py b/python/flowgraph.py index d3c57a56..103eed69 100644 --- a/python/flowgraph.py +++ b/python/flowgraph.py @@ -355,7 +355,7 @@ class FlowGraph(object): graph = self.update() if graph is None: return None - return core.BNNewFlowGraphReference(graph.handle) + return ctypes.cast(core.BNNewFlowGraphReference(graph.handle), ctypes.c_void_p).value except: log.log_error(traceback.format_exc()) return None |
