summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index b89363e494..0464cdb998 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -47,7 +47,7 @@ static bool is_random_name_vowel( char let );
static char retvow(int sed);
static char retlet(int sed);
-static bool is_tried_type( int basetype, int subtype )
+static bool is_tried_type( object_class_type basetype, int subtype )
{
switch ( basetype )
{
@@ -432,7 +432,7 @@ static const char* wand_secondary_string(int s)
case 12: return "worn ";
case 13: return "encrusted ";
case 14: return "runed ";
- case 15: return "sharpened ";
+ case 15: return "sharpened ";
default: return "buggily ";
}
}