From 2d1a46182c4f53cf4867e6d1e15ea68bfeb8d78d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 8 Feb 2019 03:40:56 +0000 Subject: [PATCH] scst: Fix the TRACE_EXIT_HRES() macro git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7908 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst_debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/include/scst_debug.h b/scst/include/scst_debug.h index f1cf364f3..dabfe57a8 100644 --- a/scst/include/scst_debug.h +++ b/scst/include/scst_debug.h @@ -354,7 +354,7 @@ do { \ #define TRACE_EXIT_HRES(res) \ do { \ - unsigned long lres = (unsigned long)res; \ + unsigned long lres = (unsigned long)(res); \ \ if (trace_flag & TRACE_ENTRYEXIT) { \ if (trace_flag & TRACE_PID) { \