summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/artefact.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-08-03 14:36:06 -0400
committerNeil Moore <neil@s-z.org>2014-08-03 14:36:06 -0400
commitf01cb95dd303dcae9d081aff32e1f2fa6d2d6fd5 (patch)
tree8e4b2aecd273f3e579d65edfa14e87fd33308122 /crawl-ref/source/artefact.h
parent2e52a0c19d866a6a15b36163fa145a94bbf9721f (diff)
downloadcrawl-ref-f01cb95dd303dcae9d081aff32e1f2fa6d2d6fd5.tar.gz
crawl-ref-f01cb95dd303dcae9d081aff32e1f2fa6d2d6fd5.zip
Fix compilation (geekosaur)
Using int here because an optimizing compiler is allowed to assume that an unrand_type will never be zero.
Diffstat (limited to 'crawl-ref/source/artefact.h')
-rw-r--r--crawl-ref/source/artefact.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/artefact.h b/crawl-ref/source/artefact.h
index 8f4eb641e9..62ab27fcca 100644
--- a/crawl-ref/source/artefact.h
+++ b/crawl-ref/source/artefact.h
@@ -74,7 +74,7 @@ struct unrandart_entry
bool is_known_artefact(const item_def &item);
bool is_artefact(const item_def &item);
bool is_random_artefact(const item_def &item);
-bool is_unrandom_artefact(const item_def &item, unrand_type which = 0);
+bool is_unrandom_artefact(const item_def &item, int which = 0);
bool is_special_unrandom_artefact(const item_def &item);
bool is_randapp_artefact(const item_def &item);
void autoid_unrand(item_def &item);