summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-07-16 00:29:59 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-07-16 12:35:13 +0200
commit956b740cff3b29381f3c2255ac9523b507adcff9 (patch)
tree56046748c30028f410a2d49ae6fa139d30cc69c8 /crawl-ref/source/clua.h
parent4bde4b17c7e2e2ca1075f4f4a729b96b9561c76c (diff)
downloadcrawl-ref-956b740cff3b29381f3c2255ac9523b507adcff9.tar.gz
crawl-ref-956b740cff3b29381f3c2255ac9523b507adcff9.zip
Get rid of more longs and all "%ld"s, new gcc + Windows + them = bad mojo.
Diffstat (limited to 'crawl-ref/source/clua.h')
-rw-r--r--crawl-ref/source/clua.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/clua.h b/crawl-ref/source/clua.h
index 837be3e169..23e1f64e62 100644
--- a/crawl-ref/source/clua.h
+++ b/crawl-ref/source/clua.h
@@ -174,7 +174,7 @@ private:
lua_State *_state;
typedef std::set<std::string> sfset;
sfset sourced_files;
- unsigned long uniqindex;
+ unsigned int uniqindex;
std::vector<lua_shutdown_listener*> shutdown_listeners;
@@ -228,7 +228,7 @@ private:
std::string pattern;
std::string lua_fn_name;
- static unsigned long lfndx;
+ static unsigned int lfndx;
bool translate() const;
void pre_pattern(std::string &pat, std::string &fn) const;