diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-04 22:00:02 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-04 22:00:02 +0000 |
commit | 67bcc60d62f03fcbec645cd103ee7b53c12de119 (patch) | |
tree | f5f882fde6bd78a926cb64af019c09d0225750b9 /crawl-ref/source/clua.cc | |
parent | af65a4e054eb0cb18f736776f7fa3bcc29e4eb9c (diff) | |
download | crawl-ref-67bcc60d62f03fcbec645cd103ee7b53c12de119.tar.gz crawl-ref-67bcc60d62f03fcbec645cd103ee7b53c12de119.zip |
Type-safety on mpr() and friends channel argument.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1970 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/clua.cc')
-rw-r--r-- | crawl-ref/source/clua.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/clua.cc b/crawl-ref/source/clua.cc index 717707c1cc..f6f9c07f2f 100644 --- a/crawl-ref/source/clua.cc +++ b/crawl-ref/source/clua.cc @@ -1625,7 +1625,7 @@ static int crawl_mpr(lua_State *ls) if (ch < 0 || ch >= NUM_MESSAGE_CHANNELS) ch = MSGCH_PLAIN; - mpr(message, ch); + mpr(message, static_cast<msg_channel_type>(ch)); return (0); } |