]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Bug 513522 - m_libcassert.c: 'ordered comparison of pointer with integer zero' compil...
authorPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 18 Dec 2025 06:59:38 +0000 (07:59 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Thu, 18 Dec 2025 07:00:19 +0000 (08:00 +0100)
NEWS
coregrind/m_libcassert.c

diff --git a/NEWS b/NEWS
index 06bf59ebbf37e6b4bce6453726d5b1261d83e197..b8e15e0df2ddeaccfb9a8db6374fd7c390b5f6a0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -46,6 +46,8 @@ are not entered into bugzilla tend to get forgotten about or ignored.
 512037  malloc trace does not print free size or alignment
 512571  regtest problems with darwin dsymuti
 513257  Add missing syswraps for lsm_list_modules
+513522  m_libcassert.c: 'ordered comparison of pointer with integer zero'
+        compiler warning
 
 To see details of a given bug, visit
   https://bugs.kde.org/show_bug.cgi?id=XXXXXX
index 35a988c65dbe4c4eb1f6318f750b8ac0e3bc67f9..e757aa59e1008fb1674eacdfaa2c5d18195534df 100644 (file)
@@ -500,7 +500,7 @@ static void report_and_quit ( const HChar* report,
                           False, // exited_threads
                           startRegsIN);
 
-   if (VG_(debugLog_getLevel) > 0) {
+   if (VG_(debugLog_getLevel)() > 0) {
       VG_(am_show_nsegments) (1, "report_and_quit");
       (void) VG_(am_do_sync_check) ("report_and_quit", __FILE__, __LINE__);
    }