[vte] fixup pty gobject



commit 0af1342d81c6ade8bef88de2aaf3e3aa8a06a378
Author: Christian Persch <chpe src gnome org>
Date:   Sat Oct 12 20:10:55 2019 +0200

    fixup pty gobject

 src/pty.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/pty.cc b/src/pty.cc
index b309d8ea..97f0fbe0 100644
--- a/src/pty.cc
+++ b/src/pty.cc
@@ -337,7 +337,7 @@ __vte_pty_merge_environ (char **envp,
 static void
 pty_child_setup_cb(void* data)
 {
-        vte::base::Pty* pty = reinterpret_cast<vte::base::Pty*>(data);
+        auto pty = reinterpret_cast<vte::base::Pty*>(data);
         pty->child_setup();
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]