[vte/vte-0-44] lib: Use nullptr as sentinel instead of NULL



commit e3d9eef71fe29f658d1376a215b02cfddc7a68bc
Author: Anthony G. Basile <blueness gentoo org>
Date:   Mon Feb 29 18:28:22 2016 +0100

    lib: Use nullptr as sentinel instead of NULL
    
    On some non-GCC/GLIBC systems, NULL may not be a suitable 0 pointer constant.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762863

 src/vte.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index b1e4ba1..0b44c9a 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -8337,7 +8337,7 @@ VteTerminalPrivate::widget_settings_notify()
                      "gtk-cursor-blink", &blink,
                      "gtk-cursor-blink-time", &blink_time,
                      "gtk-cursor-blink-timeout", &blink_timeout,
-                     (void *)NULL);
+                     nullptr);
 
         _vte_debug_print(VTE_DEBUG_MISC,
                          "Cursor blinking settings: blink=%d time=%d timeout=%d\n",


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