summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-05-14 18:23:39 -0400
committerNeil Moore <neil@s-z.org>2014-05-14 18:25:33 -0400
commit7bce4e130355a4194fbf40a25ce32140b5ebcc54 (patch)
treee840dc3d92a7d41245d5f69997f6f89cede3b186 /crawl-ref/source/itemprop.cc
parentda64724bff9c43f2b6df4ebe14401e8dbb47dd96 (diff)
downloadcrawl-ref-7bce4e130355a4194fbf40a25ce32140b5ebcc54.tar.gz
crawl-ref-7bce4e130355a4194fbf40a25ce32140b5ebcc54.zip
Make a type more correct (geekosaur)
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index 2493f02bd7..cefdb4d909 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -2640,9 +2640,9 @@ void seen_item(const item_def &item)
{
// Known brands will be set in set_item_flags().
if (item.base_type == OBJ_WEAPONS)
- you.seen_weapon[item.sub_type] |= 1 << SP_UNKNOWN_BRAND;
+ you.seen_weapon[item.sub_type] |= 1U << SP_UNKNOWN_BRAND;
if (item.base_type == OBJ_ARMOUR)
- you.seen_armour[item.sub_type] |= 1 << SP_UNKNOWN_BRAND;
+ you.seen_armour[item.sub_type] |= 1U << SP_UNKNOWN_BRAND;
if (item.base_type == OBJ_MISCELLANY
&& !is_deck(item))
{