summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-shoals.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-10-04 12:58:11 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-10-04 13:02:46 +0200
commit155ff773191782c6c88c3a638bdacf328172e46c (patch)
treec6353a32f21e070ff49ed962133041b194952baf /crawl-ref/source/dgn-shoals.h
parent185dc20a7ed60ad6ac3b28b8e1ab108fe9bf2676 (diff)
downloadcrawl-ref-155ff773191782c6c88c3a638bdacf328172e46c.tar.gz
crawl-ref-155ff773191782c6c88c3a638bdacf328172e46c.zip
Get rid of some more insidious longs.
Especially constructs like: long foo = x.props[].get_int() can get you by surprise on 32 bit arches -- even worse now that most devs are on amd64. Item flags I typedeffed as iflags_t, as it's likely we'll have to extend it soon, yet defining it as uint64_t now would be misleading since there are so many places it's used in a 32 bit manner.
Diffstat (limited to 'crawl-ref/source/dgn-shoals.h')
-rw-r--r--crawl-ref/source/dgn-shoals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-shoals.h b/crawl-ref/source/dgn-shoals.h
index b378b7ce73..a6756feb6e 100644
--- a/crawl-ref/source/dgn-shoals.h
+++ b/crawl-ref/source/dgn-shoals.h
@@ -3,7 +3,7 @@
void dgn_build_shoals_level(int level_number);
void shoals_postprocess_level();
-void shoals_apply_tides(long turns_elapsed, bool force,
+void shoals_apply_tides(int turns_elapsed, bool force,
bool incremental_tide);
void shoals_release_tide(monster* caller);