diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-01-22 00:52:00 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-01-22 00:52:00 +0000 |
commit | dd70af752fffc07e9abdeea681954b40914092de (patch) | |
tree | 5f6f12bea176306b522839cf6611289fcf56e266 /lib/common/Box.h | |
parent | 945498cdd52d535b0f1840d3dbd866dd581731be (diff) |
Use const char pointers to silence sun CC warnings.
Diffstat (limited to 'lib/common/Box.h')
-rw-r--r-- | lib/common/Box.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |