diff options
-rw-r--r-- | crawl-ref/source/misc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index f04d1cbab7..67d20c4a0e 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -1948,7 +1948,7 @@ int place_branch(unsigned short place) { const unsigned branch = (unsigned) ((place >> 8) & 0xFF); const int lev = place & 0xFF; - return lev == 0xFF? -1 : branch; + return lev == 0xFF? -1 : (int) branch; } int place_depth(unsigned short place) |