From dd70af752fffc07e9abdeea681954b40914092de Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 22 Jan 2008 00:52:00 +0000 Subject: Use const char pointers to silence sun CC warnings. --- lib/common/Box.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/common/Box.h b/lib/common/Box.h index abaad9f2..d0e7ab1e 100644 --- a/lib/common/Box.h +++ b/lib/common/Box.h @@ -40,7 +40,7 @@ extern bool AssertFailuresToSyslog; #define ASSERT_FAILS_TO_SYSLOG_ON {AssertFailuresToSyslog = true;} - void BoxDebugAssertFailed(char *cond, char *file, int line); + void BoxDebugAssertFailed(const char *cond, const char *file, int line); #define ASSERT(cond) {if(!(cond)) {BoxDebugAssertFailed(#cond, __FILE__, __LINE__); THROW_EXCEPTION(CommonException, AssertFailed)}} // Note that syslog tracing is independent of BoxDebugTraceOn, but stdout tracing is not -- cgit v1.2.3