From 760ccbabfbec67d80c3bdac9c0803ecf7d1742b6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 10 Aug 2012 15:57:09 +0000 Subject: add -Wpointer-arith -Wcast-qual -Wcast-align and others to compile flags, and fix const cast warnings generated by new flags git-svn-id: svn://localhost/ardour2/branches/3.0@13124 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/sanity_check/systemtest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/sanity_check') diff --git a/tools/sanity_check/systemtest.cpp b/tools/sanity_check/systemtest.cpp index 4801ac2f09..025eb0ef25 100644 --- a/tools/sanity_check/systemtest.cpp +++ b/tools/sanity_check/systemtest.cpp @@ -295,7 +295,7 @@ long long unsigned int system_available_physical_mem() { char buf[256]; long long unsigned int res = 0; - if (0("/proc/meminfo"), buf, sizeof (buf))) { if (strncmp (buf, "MemTotal:", 9) == 0) { if (sscanf (buf, "%*s %llu", &res) != 1) { perror ("parse error in /proc/meminfo"); -- cgit v1.2.3