From 9f6bfcaf9985dd9f6911c95b5df95e1d72a63f0f Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 18 Mar 2013 16:56:14 +0100 Subject: make sure a (void*)0 is used as sentinels since including glib.h on LLVM-Clang (32-bit) results in NULL being redefined to 0 and compiler warnings being emitted when NULL is used as sentinels --- src/interface-ncurses.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interface-ncurses.cpp') diff --git a/src/interface-ncurses.cpp b/src/interface-ncurses.cpp index e078005..639c594 100644 --- a/src/interface-ncurses.cpp +++ b/src/interface-ncurses.cpp @@ -257,7 +257,7 @@ InterfaceNCurses::popup_add(PopupEntryType type __attribute__((unused)), if (isendwin()) /* batch mode */ return; - entry = g_strconcat(highlight ? "*" : " ", name, NULL); + entry = g_strconcat(highlight ? "*" : " ", name, NIL); popup.longest = MAX(popup.longest, (gint)strlen(name)); popup.length++; -- cgit v1.2.3