summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-06-07 03:33:42 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-06-07 03:33:42 +0200
commit2fc6b868766bc5a494d580011752df48c05c19d4 (patch)
treeb62d77201e6969c4ed5e1193ee3a24f4a28f8270 /crawl-ref/source/clua.cc
parentc154596e73699b07f0cffba87a34d04656f8d8ba (diff)
downloadcrawl-ref-2fc6b868766bc5a494d580011752df48c05c19d4.tar.gz
crawl-ref-2fc6b868766bc5a494d580011752df48c05c19d4.zip
Don't cast to longs literals that are not long.
Diffstat (limited to 'crawl-ref/source/clua.cc')
-rw-r--r--crawl-ref/source/clua.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/clua.cc b/crawl-ref/source/clua.cc
index d8e9197a68..0ebeb2959c 100644
--- a/crawl-ref/source/clua.cc
+++ b/crawl-ref/source/clua.cc
@@ -44,7 +44,7 @@ CLua::CLua(bool managed)
throttle_sleep_end(800), n_throttle_sleeps(0), mixed_call_depth(0),
lua_call_depth(0), max_mixed_call_depth(8),
max_lua_call_depth(100), memory_used(0),
- _state(NULL), sourced_files(), uniqindex(0L)
+ _state(NULL), sourced_files(), uniqindex(0)
{
}